From: Otavio Salvador Date: Tue, 21 Jul 2015 13:38:47 +0000 (-0300) Subject: glmark2: Handle PACKAGECONFIG for X11 and Wayland X-Git-Tag: 2.1~440 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=32de02c23fb5b7f7fb95caac481d888c4894d52a;p=meta-freescale.git 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 --- 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 @@ -#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"