From b660366a30fddff5f9de876239ac0aee00955134 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 13 Aug 2018 19:24:16 -0700 Subject: 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 --- recipes-graphics/kmscube/kmscube_%.bbappend | 2 ++ recipes-graphics/piglit/piglit_%.bbappend | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 recipes-graphics/kmscube/kmscube_%.bbappend 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 @@ +# userland driver EGL implementation does not have all needed bits for it so remove it from build +COMPATIBLE_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 @@ # mesa-demos need libgles1 and userland driver does not have it so remove it from piglit rdeps RDEPENDS_${PN}_remove_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'mesa-demos', d)}" +# it needs EGL >= 11 but userland says it provided version 10, remove it from build +# | -- Requested 'egl >= 11.0' but version of EGL is 10 +COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '(.*)', 'null', d)}" -- cgit v1.2.3-54-g00ecf