]> code.ossystems Code Review - meta-freescale.git/commitdiff
glmark2: Refactor code to use the new overrides
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 1 Jul 2016 18:35:45 +0000 (15:35 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 8 Sep 2016 14:24:25 +0000 (11:24 -0300)
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 <otavio@ossystems.com.br>
dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend

index 69106a7c02c30ee7b1614e133a08576bf64f94d8..b579028be123444eabd8a364a4078ec61e8f230a 100644 (file)
@@ -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)}"