summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/cairo
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:24:25 -0300
commit39f2d81ad5b108abfa814e2655352bfe459af26b (patch)
tree762f624e83b93366cd37d163c06af010fddd228f /recipes-graphics/cairo
parent20a0f69f16d1b77ad65397c2197790af1701e6f1 (diff)
downloadmeta-freescale-39f2d81ad5b108abfa814e2655352bfe459af26b.tar.gz
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>
Diffstat (limited to 'recipes-graphics/cairo')
-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 6f9e09d2..c062dbac 100644
--- a/recipes-graphics/cairo/cairo_%.bbappend
+++ b/recipes-graphics/cairo/cairo_%.bbappend
@@ -1,8 +1,10 @@
1CFLAGS_append_mx6 = " -DLINUX \ 1CFLAGS_append_imxgpu2d = " \
2 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ 2 -DLINUX \
3 bb.utils.contains('DISTRO_FEATURES', 'wayland', \ 3 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', \
4 '-DEGL_API_FB -DEGL_API_WL', '-DEGL_API_FB', d), d)}" 4 '', \
5 bb.utils.contains('DISTRO_FEATURES', 'wayland', \
6 '-DEGL_API_FB -DEGL_API_WL', \
7 '-DEGL_API_FB', d), d)} \
8"
5 9
6PACKAGECONFIG_append_mx6q = " egl glesv2" 10PACKAGECONFIG_append_imxgpu3d = " egl glesv2"
7PACKAGECONFIG_append_mx6dl = " egl glesv2"
8PACKAGECONFIG_append_mx6sx = " egl glesv2"