[meta-freescale] [v2] libepoxy: Append EGL_CFLAGS to CFLAGS
Fabio Berton
fabio.berton at ossystems.com.br
Thu Jul 5 11:10:38 PDT 2018
Add -DEGL_API_FB for non x11 distros and -DWL_EGL_PLATFORM for wayland
distros.
Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
---
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.18.0
More information about the meta-freescale
mailing list