From: Fabio Berton Date: Thu, 5 Jul 2018 18:10:38 +0000 (-0300) Subject: libepoxy: Append EGL_CFLAGS to CFLAGS X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=222244146d49900d18d2e007d1a36a4640a43127;p=meta-freescale.git 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) --- 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)} \ +"