[meta-freescale] [meta-fsl-arm][PATCH 1/2] cairo: add OpenGL ES2 support for i.MX6

Otavio Salvador otavio at ossystems.com.br
Wed Mar 26 18:34:56 PDT 2014


From: Prabhu Sundararaj <prabhu.sundararaj at freescale.com>

Change-Id: I7778227884069b718ca72e4dbb212782843682b6
Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj at freescale.com>
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
 recipes-graphics/cairo/cairo_%.bbappend | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 recipes-graphics/cairo/cairo_%.bbappend

diff --git a/recipes-graphics/cairo/cairo_%.bbappend b/recipes-graphics/cairo/cairo_%.bbappend
new file mode 100644
index 0000000..eca1fe4
--- /dev/null
+++ b/recipes-graphics/cairo/cairo_%.bbappend
@@ -0,0 +1,9 @@
+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_mx6 ??= "egl glesv2"
-- 
1.9.1



More information about the meta-freescale mailing list