[meta-freescale] [meta-fsl-arm][PATCH 7/7] glmark2: Handle PACKAGECONFIG for X11 and Wayland

Otavio Salvador otavio at ossystems.com.br
Tue Jul 21 07:53:14 PDT 2015


This handles the PACKAGECONFIG setting depending on the
DISTRO_FEATURES avaiability (X11 or Wayland). It adds GL and GLES2
support for the available flavours.

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
 openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend b/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend
index 8e57d66..d3127f0 100644
--- a/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend
+++ b/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend
@@ -1,3 +1,5 @@
-#Remove gles2 as it is not supported by sololite
-
-PACKAGECONFIG_remove_mx6sl = "gles2"
+PACKAGECONFIG_remove_mx6q  = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'wayland-gl wayland-gles2', '', d)}"
+PACKAGECONFIG_remove_mx6dl = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'wayland-gl wayland-gles2', '', d)}"
+PACKAGECONFIG_remove_mx6sx = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'wayland-gl wayland-gles2', '', d)}"
+PACKAGECONFIG_remove_mx6sl = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'wayland-gl wayland-gles2', '', d)} \
+                              x11-gles2 drm-gles2"
-- 
2.4.6



More information about the meta-freescale mailing list