summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/mesa
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2016-10-12 11:59:34 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2016-10-27 10:36:28 -0200
commite0db986b1f77093ab63b5dc1bf44acff9ad89a8a (patch)
treea9aeb2062a750e0cf5eacd9415d5836a9058ff51 /recipes-graphics/mesa
parentab57aaa90723b57a2f9c0226b09c131f1af521b1 (diff)
downloadmeta-freescale-e0db986b1f77093ab63b5dc1bf44acff9ad89a8a.tar.gz
mesa-demos: Fix configuration for Wayland on i.MX
If distro features contains wayland, we assume a wayland backend and configure the package accordingly. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-graphics/mesa')
-rw-r--r--recipes-graphics/mesa/mesa-demos_%.bbappend7
1 files changed, 3 insertions, 4 deletions
diff --git a/recipes-graphics/mesa/mesa-demos_%.bbappend b/recipes-graphics/mesa/mesa-demos_%.bbappend
index ac5bf65f..722d53dd 100644
--- a/recipes-graphics/mesa/mesa-demos_%.bbappend
+++ b/recipes-graphics/mesa/mesa-demos_%.bbappend
@@ -6,11 +6,10 @@ SRC_URI_append_mx6 = " file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.
6 file://Add-OpenVG-demos-to-support-wayland.patch" 6 file://Add-OpenVG-demos-to-support-wayland.patch"
7 7
8PACKAGECONFIG_remove_mx6 = " \ 8PACKAGECONFIG_remove_mx6 = " \
9 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ 9 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'glu x11', '', d)} \
10 bb.utils.contains('DISTRO_FEATURES', 'wayland', 'glu', '', d), d)}" 10"
11PACKAGECONFIG_remove_mx6sl = "gles1 gles2" 11PACKAGECONFIG_remove_mx6sl = "gles1 gles2"
12 12
13PACKAGECONFIG_append_mx6 = " \ 13PACKAGECONFIG_append_mx6 = " \
14 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ 14 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland vg', '', d)} \
15 bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland vg', '', d), d)} \
16" 15"