From 7ce943971b3982b0756abc8fa7f6b6d44b04d0ad Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Tue, 11 Aug 2015 09:55:35 -0300 Subject: 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 --- recipes-graphics/gtk+/gtk+3_%.bbappend | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'recipes-graphics/gtk+') 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)}" -- cgit v1.2.3-54-g00ecf