From 24ffaab8f084b1cabf2a9bb5ba333c85a409298d Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 1 Jul 2016 15:35:45 -0300 Subject: 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 --- openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend b/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend index 69106a7..b579028 100644 --- a/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend +++ b/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)}" -- cgit v1.2.3-54-g00ecf