diff options
author | Fabio Berton <fabio.berton@ossystems.com.br> | 2018-07-05 15:10:38 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2018-07-05 15:26:16 -0300 |
commit | 222244146d49900d18d2e007d1a36a4640a43127 (patch) | |
tree | 7bb93c1ddc657212e0bbc5424cb4cdc5ba6fccba | |
parent | d1b426bcbbc4a157f2060a39b44b8a14181a8379 (diff) | |
download | meta-freescale-222244146d49900d18d2e007d1a36a4640a43127.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>
(cherry picked from commit 964a195536b61a4b9bf474a5c783ac888de2e846)
-rw-r--r-- | recipes-graphics/libepoxy/libepoxy_1.5.%.bbappend | 5 |
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 000000000..5b82b3f46 --- /dev/null +++ b/recipes-graphics/libepoxy/libepoxy_1.5.%.bbappend | |||
@@ -0,0 +1,5 @@ | |||
1 | # Append EGL_CFLAGS to CFLAGS | ||
2 | CFLAGS_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 | " | ||