summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/libepoxy
diff options
context:
space:
mode:
authorFabio Berton <fabio.berton@ossystems.com.br>2018-07-05 15:10:38 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2018-07-05 15:25:40 -0300
commit964a195536b61a4b9bf474a5c783ac888de2e846 (patch)
tree4ae1af979b263ce8e7c9e8ffc950d6202225779d /recipes-graphics/libepoxy
parent0368b34d0d593de5d6e3a8770d5c80e4ed43c1ab (diff)
downloadmeta-freescale-964a195536b61a4b9bf474a5c783ac888de2e846.tar.gz
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 <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-graphics/libepoxy')
-rw-r--r--recipes-graphics/libepoxy/libepoxy_1.5.%.bbappend5
1 files changed, 5 insertions, 0 deletions
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 @@
1# Append EGL_CFLAGS to CFLAGS
2CFLAGS_append_imxgpu = " \
3 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_API_FB', d)} \
4 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '-DWL_EGL_PLATFORM', '', d)} \
5"