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

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


Hi Otavio, 
Comments below

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 09/15] cairo: Refactor code to use the new overrides

The recipe has been reworked to use the 'imxgpu2d' and 'imxgpu3d'
feature overrides.

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

 recipes-graphics/cairo/cairo_%.bbappend | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/recipes-graphics/cairo/cairo_%.bbappend b/recipes-graphics/cairo/cairo_%.bbappend
index 6f9e09d..c062dba 100644
--- a/recipes-graphics/cairo/cairo_%.bbappend
+++ b/recipes-graphics/cairo/cairo_%.bbappend
@@ -1,8 +1,10 @@
-CFLAGS_append_mx6 = " -DLINUX \
-                      ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \
-                                        bb.utils.contains('DISTRO_FEATURES', 'wayland', \
-                                                      '-DEGL_API_FB -DEGL_API_WL',  '-DEGL_API_FB', d), d)}"
+CFLAGS_append_imxgpu2d = " \
+    -DLINUX \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', \
+                          '', \
+                          bb.utils.contains('DISTRO_FEATURES', 'wayland', \
+                                            '-DEGL_API_FB -DEGL_API_WL', \
+                                            '-DEGL_API_FB', d), d)} \ "
Prabhu: this need to be removed. No more required, this is now provided by egl.pc 

-PACKAGECONFIG_append_mx6q = " egl glesv2"
-PACKAGECONFIG_append_mx6dl = " egl glesv2"
-PACKAGECONFIG_append_mx6sx = " egl glesv2"
+PACKAGECONFIG_append_imxgpu3d = " egl glesv2"
--
2.9.3



More information about the meta-freescale mailing list