From 964a195536b61a4b9bf474a5c783ac888de2e846 Mon Sep 17 00:00:00 2001 From: Fabio Berton Date: Thu, 5 Jul 2018 15:10:38 -0300 Subject: libepoxy: Append EGL_CFLAGS to CFLAGS Add -DEGL_API_FB for non x11 distros and -DWL_EGL_PLATFORM for wayland distros. Signed-off-by: Fabio Berton Signed-off-by: Otavio Salvador --- recipes-graphics/libepoxy/libepoxy_1.5.%.bbappend | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 recipes-graphics/libepoxy/libepoxy_1.5.%.bbappend diff --git a/recipes-graphics/libepoxy/libepoxy_1.5.%.bbappend b/recipes-graphics/libepoxy/libepoxy_1.5.%.bbappend new file mode 100644 index 00000000..5b82b3f4 --- /dev/null +++ b/recipes-graphics/libepoxy/libepoxy_1.5.%.bbappend @@ -0,0 +1,5 @@ +# Append EGL_CFLAGS to CFLAGS +CFLAGS_append_imxgpu = " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_API_FB', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '-DWL_EGL_PLATFORM', '', d)} \ +" -- cgit v1.2.3-54-g00ecf