]> code.ossystems Code Review - meta-freescale.git/commitdiff
cairo: Refactor code to use the new overrides
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 1 Jul 2016 18:38:18 +0000 (15:38 -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.

Change-Id: I889bdf7997d9e9863e99e3a0416a06da20485c09
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/cairo/cairo_%.bbappend

index 6f9e09d2bddff60de665cc18a25166d7457ba870..c062dbaceadcb9f823207a96e12e74ee4c692de5 100644 (file)
@@ -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)} \
+"
 
-PACKAGECONFIG_append_mx6q = " egl glesv2"
-PACKAGECONFIG_append_mx6dl = " egl glesv2"
-PACKAGECONFIG_append_mx6sx = " egl glesv2"
+PACKAGECONFIG_append_imxgpu3d = " egl glesv2"