[meta-freescale] [meta-fsl-arm][PATCH 2/2] glmark2: Add XWayland support

Tom Hochstein tom.hochstein at nxp.com
Wed Jul 27 10:32:03 PDT 2016


If DISTRO_FEATURES contains x11 and wayland, configure the package
for a Wayland backend.

Signed-off-by: Tom Hochstein <tom.hochstein at nxp.com>
---
 openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend b/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend
index 0cfc39f..69106a7 100644
--- a/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend
+++ b/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend
@@ -1,3 +1,4 @@
-PACKAGECONFIG_mx6 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11-gl x11-gles2', \
-                         bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'wayland-gles2', '', d), d)}"
+PACKAGECONFIG_mx6 = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'wayland-gles2', \
+                        bb.utils.contains('DISTRO_FEATURES', 'x11 opengl',     'x11-gl x11-gles2', \
+                                                                               '', d), d)}"
 PACKAGECONFIG_remove_mx6sl = "wayland-gles2 x11-gles2"
-- 
1.9.1



More information about the meta-freescale mailing list