aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-graphics
diff options
context:
space:
mode:
authorKhang Nguyen <khang.nguyen.xw@renesas.com>2019-07-17 19:09:52 +0700
committerKhang Nguyen <khang.nguyen.xw@renesas.com>2019-09-24 08:16:29 +0700
commit025edeb911a8b78a7842bb6df6dde3fbdcd3c1f4 (patch)
treef7f5c59c57f654af0aadfe3c9772adbf9b5d2a40 /meta-rcar-gen3/recipes-graphics
parent4f88440f6e053c6f05f35d82a7e00e300d9916ab (diff)
rcar-gen3: Add COMPATIBLE_MACHINE
This adds COMPATIBLE_MACHINE to R-Car specific recipes to avoid error when run "bitbake world" for non-R-Car platforms. Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ide29f6272d7c483eeda69a58f61710b2e8a42d6d
Diffstat (limited to 'meta-rcar-gen3/recipes-graphics')
-rw-r--r--meta-rcar-gen3/recipes-graphics/drm/libdrm_2.4.85.bb1
-rw-r--r--meta-rcar-gen3/recipes-graphics/images/core-image-renesas-base.inc2
-rw-r--r--meta-rcar-gen3/recipes-graphics/packagegroups/packagegroup-graphic-renesas.bb2
-rw-r--r--meta-rcar-gen3/recipes-graphics/wayland/libegl.bb2
-rw-r--r--meta-rcar-gen3/recipes-graphics/xorg-xserver/xserver-xorg_1.19.6.bb2
5 files changed, 9 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-graphics/drm/libdrm_2.4.85.bb b/meta-rcar-gen3/recipes-graphics/drm/libdrm_2.4.85.bb
index 4e3e8ef..b9955ed 100644
--- a/meta-rcar-gen3/recipes-graphics/drm/libdrm_2.4.85.bb
+++ b/meta-rcar-gen3/recipes-graphics/drm/libdrm_2.4.85.bb
@@ -9,6 +9,7 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71"
PROVIDES = "drm"
DEPENDS = "libpthread-stubs libpciaccess"
+COMPATIBLE_MACHINE = "(salvator-x|ebisu|ulcb)"
SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.bz2 \
file://installtests.patch \
diff --git a/meta-rcar-gen3/recipes-graphics/images/core-image-renesas-base.inc b/meta-rcar-gen3/recipes-graphics/images/core-image-renesas-base.inc
index 67615b1..8a93b5f 100644
--- a/meta-rcar-gen3/recipes-graphics/images/core-image-renesas-base.inc
+++ b/meta-rcar-gen3/recipes-graphics/images/core-image-renesas-base.inc
@@ -1,5 +1,7 @@
require include/iccom-control.inc
+COMPATIBLE_MACHINE = "(salvator-x|ulcb|ebisu)"
+
# Basic packages
IMAGE_INSTALL_append = " \
bash \
diff --git a/meta-rcar-gen3/recipes-graphics/packagegroups/packagegroup-graphic-renesas.bb b/meta-rcar-gen3/recipes-graphics/packagegroups/packagegroup-graphic-renesas.bb
index cc37f8e..b5cff82 100644
--- a/meta-rcar-gen3/recipes-graphics/packagegroups/packagegroup-graphic-renesas.bb
+++ b/meta-rcar-gen3/recipes-graphics/packagegroups/packagegroup-graphic-renesas.bb
@@ -4,6 +4,8 @@ LICENSE = "CLOSED & MIT"
inherit packagegroup
require include/gles-control.inc
+COMPATIBLE_MACHINE = "(salvator-x|ulcb|ebisu)"
+
PACKAGES = " \
packagegroup-wayland-community \
packagegroup-graphics-renesas-proprietary \
diff --git a/meta-rcar-gen3/recipes-graphics/wayland/libegl.bb b/meta-rcar-gen3/recipes-graphics/wayland/libegl.bb
index 0bde4ae..06c56f7 100644
--- a/meta-rcar-gen3/recipes-graphics/wayland/libegl.bb
+++ b/meta-rcar-gen3/recipes-graphics/wayland/libegl.bb
@@ -1,6 +1,8 @@
SUMMARY = "Recipe for libegl"
LICENSE = "CLOSED"
+COMPATIBLE_MACHINE = "(salvator-x|ulcb|ebisu)"
+
DEPENDS = "gles-user-module \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'libgbm wayland-kms', '', d)} \
"
diff --git a/meta-rcar-gen3/recipes-graphics/xorg-xserver/xserver-xorg_1.19.6.bb b/meta-rcar-gen3/recipes-graphics/xorg-xserver/xserver-xorg_1.19.6.bb
index 7e8a954..bec021d 100644
--- a/meta-rcar-gen3/recipes-graphics/xorg-xserver/xserver-xorg_1.19.6.bb
+++ b/meta-rcar-gen3/recipes-graphics/xorg-xserver/xserver-xorg_1.19.6.bb
@@ -1,5 +1,7 @@
require xserver-xorg.inc
+COMPATIBLE_MACHINE = "(salvator-x|ebisu|ulcb)"
+
SRC_URI += "file://musl-arm-inb-outb.patch \
file://0001-configure.ac-Fix-check-for-CLOCK_MONOTONIC.patch \
file://0003-modesetting-Fix-16-bit-depth-bpp-mode.patch \