diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2016-07-01 15:38:18 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-09-08 11:24:25 -0300 |
commit | 39f2d81ad5b108abfa814e2655352bfe459af26b (patch) | |
tree | 762f624e83b93366cd37d163c06af010fddd228f /recipes-graphics/cairo | |
parent | 20a0f69f16d1b77ad65397c2197790af1701e6f1 (diff) | |
download | meta-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_%.bbappend | 16 |
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 @@ | |||
1 | CFLAGS_append_mx6 = " -DLINUX \ | 1 | CFLAGS_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 | ||
6 | PACKAGECONFIG_append_mx6q = " egl glesv2" | 10 | PACKAGECONFIG_append_imxgpu3d = " egl glesv2" |
7 | PACKAGECONFIG_append_mx6dl = " egl glesv2" | ||
8 | PACKAGECONFIG_append_mx6sx = " egl glesv2" | ||