[meta-freescale] [meta-fsl-arm][PATCH v3 3/7] glmark2: Use wayland backend whenever it is availiable

Tom Hochstein tom.hochstein at freescale.com
Wed Nov 25 14:07:24 PST 2015


From: Neena Busireddy <neena.busireddy at freescale.com>

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 <neena.busireddy at freescale.com>
Signed-off-by: Tom Hochstein <tom.hochstein at freescale.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 0e04a65..83f8d15 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', 'opengl wayland', 'wayland-gles2', \
+                          bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'x11-gl x11-gles2', '', d), d)}"
+
 PACKAGECONFIG_remove_mx6sl = "x11-gles2"
-- 
2.1.4



More information about the meta-freescale mailing list