summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-08-13 19:24:16 -0700
committerAndrei Gherzan <andrei@gherzan.com>2018-08-16 11:34:33 +0100
commitb660366a30fddff5f9de876239ac0aee00955134 (patch)
tree9cd5cbe6eac28fb48c37948afd8f0714044cc6e0
parent40a9a11794ead811c2687798c5a0e6530d00251c (diff)
downloadmeta-raspberrypi-b660366a30fddff5f9de876239ac0aee00955134.tar.gz
piglit,kmscube: Disable when using userland graphics driver
These packages need stuff from mesa which is not available in userland implementation as of now Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes-graphics/kmscube/kmscube_%.bbappend2
-rw-r--r--recipes-graphics/piglit/piglit_%.bbappend3
2 files changed, 5 insertions, 0 deletions
diff --git a/recipes-graphics/kmscube/kmscube_%.bbappend b/recipes-graphics/kmscube/kmscube_%.bbappend
new file mode 100644
index 0000000..9343fb0
--- /dev/null
+++ b/recipes-graphics/kmscube/kmscube_%.bbappend
@@ -0,0 +1,2 @@
1# userland driver EGL implementation does not have all needed bits for it so remove it from build
2COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '(.*)', 'null', d)}"
diff --git a/recipes-graphics/piglit/piglit_%.bbappend b/recipes-graphics/piglit/piglit_%.bbappend
index b058cf4..0503fd0 100644
--- a/recipes-graphics/piglit/piglit_%.bbappend
+++ b/recipes-graphics/piglit/piglit_%.bbappend
@@ -1,2 +1,5 @@
1# mesa-demos need libgles1 and userland driver does not have it so remove it from piglit rdeps 1# mesa-demos need libgles1 and userland driver does not have it so remove it from piglit rdeps
2RDEPENDS_${PN}_remove_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'mesa-demos', d)}" 2RDEPENDS_${PN}_remove_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'mesa-demos', d)}"
3# it needs EGL >= 11 but userland says it provided version 10, remove it from build
4# | -- Requested 'egl >= 11.0' but version of EGL is 10
5COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '(.*)', 'null', d)}"