aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/cairo/cairo_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/cairo/cairo_%.bbappend')
-rw-r--r--recipes-graphics/cairo/cairo_%.bbappend11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-graphics/cairo/cairo_%.bbappend b/recipes-graphics/cairo/cairo_%.bbappend
new file mode 100644
index 00000000..ab1c37a5
--- /dev/null
+++ b/recipes-graphics/cairo/cairo_%.bbappend
@@ -0,0 +1,11 @@
+CFLAGS_append_mx6 = " -DLINUX \
+ ${@base_contains('DISTRO_FEATURES', 'x11', '', \
+ base_contains('DISTRO_FEATURES', 'wayland', \
+ '-DEGL_API_FB -DEGL_API_WL', \
+ base_contains('DISTRO_FEATURES', 'directfb', \
+ '-DEGL_API_DFB', '-DEGL_API_FB', d),d),d)}"
+
+
+PACKAGECONFIG_append_mx6q = " egl glesv2"
+PACKAGECONFIG_append_mx6dl = " egl glesv2"
+PACKAGECONFIG_append_mx6sx = " egl glesv2"