From 222244146d49900d18d2e007d1a36a4640a43127 Mon Sep 17 00:00:00 2001 From: Fabio Berton Date: Thu, 5 Jul 2018 15:10:38 -0300 Subject: [PATCH] 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 (cherry picked from commit 964a195536b61a4b9bf474a5c783ac888de2e846) --- 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)} \ +" -- 2.40.1