]> code.ossystems Code Review - meta-freescale.git/commitdiff
glmark2: Handle PACKAGECONFIG for X11 and Wayland
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 21 Jul 2015 13:38:47 +0000 (10:38 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 19 Apr 2016 18:03:14 +0000 (15:03 -0300)
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@ossystems.com.br>
dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend

index 8e57d6639417ef03517c71666df66ce2f0310a94..d29165a616bf160fd723b03ccdd83d7856e4f79c 100644 (file)
@@ -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)} \
+                              drm-gl x11-gles2 drm-gles2"