[meta-freescale] [FEATURE meta-fsl-arm PATCH 07/15] glmark2: Refactor code to use the new overrides

Prabhu Sundararaj prabhu.sundararaj at nxp.com
Mon Aug 29 10:21:43 PDT 2016


Comments inline,
glmark is complete 3D app, PACKAGECONFIG_imxgpu2d configuration is irrelevant.

Best Regards,
Prabhu

-----Original Message-----
From: Otavio Salvador [mailto:otavio at ossystems.com.br] 
Sent: Monday, August 29, 2016 12:04 PM
To: meta-freescale Mailing List <meta-freescale at yoctoproject.org>
Cc: Neena Busireddy <neenareddy.busireddy at nxp.com>; Daiane Angolini <daiane.angolini at nxp.com>; Prabhu Sundararaj <prabhu.sundararaj at nxp.com>; Tom Hochstein <tom.hochstein at nxp.com>; Zhenhua Luo <zhenhua.luo at nxp.com>; White Weng <white.weng at nxp.com>; Lauren Post <lauren.post at nxp.com>; Otavio Salvador <otavio at ossystems.com.br>
Subject: [FEATURE meta-fsl-arm PATCH 07/15] 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.

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---

 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)}"
--
2.9.3



More information about the meta-freescale mailing list