From: Otavio Salvador Date: Tue, 11 Aug 2015 12:55:35 +0000 (-0300) Subject: gtk+3: Add CFLAGS overrides for Wayland use X-Git-Tag: 2.1~374 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=5a79808ddd3213bff07fe0d1bcd1f4cb75b04cc4;p=meta-freescale.git gtk+3: Add CFLAGS overrides for Wayland use 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 --- diff --git a/recipes-graphics/gtk+/gtk+3_%.bbappend b/recipes-graphics/gtk+/gtk+3_%.bbappend index 3799f714..649ebd8c 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)}"