[meta-freescale] [meta-fsl-arm][PATCH 4/6] glmark2: Use wayland backend whenever it is availiable

Neena Busireddy neena.busireddy at freescale.com
Fri Oct 16 09:18:07 PDT 2015


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>
---
 .../recipes-benchmark/glmark2/glmark2_%.bbappend   |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend b/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend
index 0e04a65..f5ffb78 100644
--- a/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend
+++ b/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend
@@ -1,3 +1,5 @@
-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', 'x11 opengl', \
+                                    bb.utils.contains('DISTRO_FEATURES', 'wayland','wayland-gles2','x11-gl x11-gles2',d), \
+                                        bb.utils.contains('DISTRO_FEATURES', 'wayland opengl','wayland-gles2','',d),d)}"
+
 PACKAGECONFIG_remove_mx6sl = "x11-gles2"
-- 
1.7.9.5



More information about the meta-freescale mailing list