aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2016-07-01 15:38:18 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2016-09-08 11:00:36 -0300
commitd1eb1a43b0ac9107559b0292cc0c503af8708371 (patch)
treefc16cb19b4aacb95c59be41adf668ea2de1ed443
parent46acd9129018d3bca6426623b21610426edbeefd (diff)
downloadmeta-fsl-arm-d1eb1a43b0ac9107559b0292cc0c503af8708371.tar.gz
meta-fsl-arm-d1eb1a43b0ac9107559b0292cc0c503af8708371.tar.bz2
meta-fsl-arm-d1eb1a43b0ac9107559b0292cc0c503af8708371.zip
cairo: Refactor code to use the new overrides
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>
-rw-r--r--recipes-graphics/cairo/cairo_%.bbappend16
1 files 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)} \
+"
-PACKAGECONFIG_append_mx6q = " egl glesv2"
-PACKAGECONFIG_append_mx6dl = " egl glesv2"
-PACKAGECONFIG_append_mx6sx = " egl glesv2"
+PACKAGECONFIG_append_imxgpu3d = " egl glesv2"