]> code.ossystems Code Review - meta-freescale.git/commitdiff
gtk+3: Add CFLAGS overrides for Wayland use
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 11 Aug 2015 12:55:35 +0000 (09:55 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 19 Apr 2016 18:03:16 +0000 (15:03 -0300)
The Vivante GPU requires 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@ossystems.com.br>
recipes-graphics/gtk+/gtk+3_%.bbappend

index 3799f7146b23b4854b35b95b51656ce54ba3b3e0..649ebd8cba385ae5a8480ae8a59e3b1fe502ff26 100644 (file)
@@ -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)}"