[meta-freescale] [meta-fsl-arm][PATCH] gtk+3: Add CFLAGS overrides for Wayland use
Otavio Salvador
otavio at ossystems.com.br
Tue Aug 11 05:57:25 PDT 2015
The Vivante GPU required the platform to be configured and thus the
CFLAGS need to be passed for the build system to properly configure
it.
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
recipes-graphics/gtk+/gtk+3_%.bbappend | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/recipes-graphics/gtk+/gtk+3_%.bbappend b/recipes-graphics/gtk+/gtk+3_%.bbappend
index 3799f71..649ebd8 100644
--- a/recipes-graphics/gtk+/gtk+3_%.bbappend
+++ b/recipes-graphics/gtk+/gtk+3_%.bbappend
@@ -1 +1,6 @@
PACKAGECONFIG_remove_mx6 = "${@base_contains("DISTRO_FEATURES", "x11", "wayland", "", d)}"
+
+CFLAGS_append_mx6 = " -DLINUX \
+ ${@base_contains('DISTRO_FEATURES', 'x11', '', \
+ base_contains('DISTRO_FEATURES', 'wayland', \
+ '-DEGL_API_FB -DEGL_API_WL', '', d), d)}"
--
2.5.0
More information about the meta-freescale
mailing list