From: Neena Busireddy <[email protected]>

If Wayland exists in DISTRO features, wayland egl build configuration will be 
enabled
It is not mandatory for a GPU driver to support multiple backends (X11, 
wayland) at the same time.

Signed-off-by: Neena Busireddy <[email protected]>
Signed-off-by: Tom Hochstein <[email protected]>
---
 recipes-graphics/mesa/mesa-demos_%.bbappend | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/recipes-graphics/mesa/mesa-demos_%.bbappend 
b/recipes-graphics/mesa/mesa-demos_%.bbappend
index 1f070a4..a8aaf11 100644
--- a/recipes-graphics/mesa/mesa-demos_%.bbappend
+++ b/recipes-graphics/mesa/mesa-demos_%.bbappend
@@ -4,13 +4,9 @@ SRC_URI_append_mx6 = " 
file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.
                     file://fix-clear-build-break.patch \
                     
file://Additional-eglSwapBuffer-calling-makes-wrong-throttl.patch \
                     file://Add-OpenVG-demos-to-support-wayland.patch"
+PACKAGECONFIG_remove_mx6 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 
'x11', '', d)}"
+PACKAGECONFIG_remove_mx6 = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 
'glu', '', d)}"
 
-PACKAGECONFIG_remove_mx6 = " \
-    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \
-         bb.utils.contains('DISTRO_FEATURES', 'wayland', 'glu', '', d), d)}"
 PACKAGECONFIG_remove_mx6sl = "gles1 gles2"
 
-PACKAGECONFIG_append = "\
-    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \
-       bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland vg', '', d), 
d)} \
-"
+PACKAGECONFIG_append_mx6 = " ${@bb.utils.contains('DISTRO_FEATURES', 
'wayland', 'wayland vg', '', d)}"
-- 
2.1.4

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to