summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2016-11-18 19:11:51 -0600
committerOtavio Salvador <otavio@ossystems.com.br>2016-11-23 08:09:34 -0200
commit6f6cdd9a46f81fbb8565275ac7fa870a04bda793 (patch)
tree30f5474f9f0144be6a2bbc7e1b8c01ddd6eb1997 /recipes-graphics
parent4a8b4955c7ff899e3e1bb71b08d81ee8ad18462e (diff)
downloadmeta-freescale-6f6cdd9a46f81fbb8565275ac7fa870a04bda793.tar.gz
cogl-1.0: Configure for Wayland backend if wayland and x11 are in distro
By i.MX convention, if wayland and x11 are in the distro features, the Wayland backend is used. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/cogl/cogl-1.0_%.bbappend9
1 files changed, 5 insertions, 4 deletions
diff --git a/recipes-graphics/cogl/cogl-1.0_%.bbappend b/recipes-graphics/cogl/cogl-1.0_%.bbappend
index 87fd15a4..c150f3ee 100644
--- a/recipes-graphics/cogl/cogl-1.0_%.bbappend
+++ b/recipes-graphics/cogl/cogl-1.0_%.bbappend
@@ -1,4 +1,5 @@
1PACKAGECONFIG_mx6 ??= "cogl-pango gles2 \ 1PACKAGECONFIG_mx6 ??= " \
2 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ 2 cogl-pango gles2 \
3 bb.utils.contains('DISTRO_FEATURES', 'wayland', \ 3 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'egl-wayland', \
4 'egl-wayland', '', d), d)}" 4 bb.utils.contains('DISTRO_FEATURES', 'x11', 'egl-x11', \
5 '', d), d)}"