summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2015-07-21 10:38:47 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2016-04-19 15:03:14 -0300
commit32de02c23fb5b7f7fb95caac481d888c4894d52a (patch)
treef6a1fba26927d7894af4efc37677ac84d6539786
parent4420431e43c6affcb02fad33532d42f1e1d06173 (diff)
downloadmeta-freescale-32de02c23fb5b7f7fb95caac481d888c4894d52a.tar.gz
glmark2: Handle PACKAGECONFIG for X11 and Wayland
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>
-rw-r--r--dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend8
1 files changed, 5 insertions, 3 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend b/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend
index 8e57d663..d29165a6 100644
--- a/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend
+++ b/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend
@@ -1,3 +1,5 @@
1#Remove gles2 as it is not supported by sololite 1PACKAGECONFIG_remove_mx6q = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'wayland-gl wayland-gles2', '', d)}"
2 2PACKAGECONFIG_remove_mx6dl = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'wayland-gl wayland-gles2', '', d)}"
3PACKAGECONFIG_remove_mx6sl = "gles2" 3PACKAGECONFIG_remove_mx6sx = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'wayland-gl wayland-gles2', '', d)}"
4PACKAGECONFIG_remove_mx6sl = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'wayland-gl wayland-gles2', '', d)} \
5 drm-gl x11-gles2 drm-gles2"