From: Otavio Salvador Date: Fri, 1 Jul 2016 18:35:45 +0000 (-0300) Subject: glmark2: Refactor code to use the new overrides X-Git-Tag: 2.2~269 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6d5896ca62a5bdde057f9d50396c77bc9aedf123;p=meta-freescale.git glmark2: Refactor code to use the new overrides The recipe has been reworked to use the 'imxgpu2d' and 'imxgpu3d' feature overrides, while on that, the '_remove' operator usage has been removed as it is impossible to override using a bbappend file. Change-Id: I89d4a4d461b182ad3d7ca8ed8ebbfe2183caf467 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 69106a7c..b579028b 100644 --- a/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend +++ b/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend @@ -1,4 +1,4 @@ -PACKAGECONFIG_mx6 = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'wayland-gles2', \ - bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11-gl x11-gles2', \ - '', d), d)}" -PACKAGECONFIG_remove_mx6sl = "wayland-gles2 x11-gles2" +PACKAGECONFIG_imxgpu3d = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'wayland-gles2', \ + bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11-gl x11-gles2', '', d), d)}" +PACKAGECONFIG_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', '', \ + bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11-gl', '', d), d)}"