Add -DEGL_API_FB for non x11 distros and -DWL_EGL_PLATFORM for wayland distros.
Signed-off-by: Fabio Berton <fabio.ber...@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..e82ad0a1 --- /dev/null +++ b/recipes-graphics/libepoxy/libepoxy_1.5.%.bbappend @@ -0,0 +1,5 @@ +# Append EGL_CFLAGS to CFLAGS +CFLAGS_append = " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_API_FB', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '-DWL_EGL_PLATFORM', '', d)} \ +" -- 2.18.0 -- _______________________________________________ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale