aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Rafael Giani <dv@pseudoterminal.org>2014-06-28 00:13:08 +0200
committerOtavio Salvador <otavio@ossystems.com.br>2014-06-30 09:17:26 -0300
commite89017be47c2d9c20bd659e0ae12d1f0f3447c39 (patch)
tree13851bfc95dac0d46d14b48823fd321584aa3632
parent0709eae41f078f31eb037d9592b98cbbd6742153 (diff)
downloadmeta-fsl-arm-e89017be47c2d9c20bd659e0ae12d1f0f3447c39.tar.gz
meta-fsl-arm-e89017be47c2d9c20bd659e0ae12d1f0f3447c39.tar.bz2
meta-fsl-arm-e89017be47c2d9c20bd659e0ae12d1f0f3447c39.zip
gstreamer1.0-plugins-bad: set correct EGL defines for Vivante GPUs
Without these, the package will not be built with the correct EGL types and definitions Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
new file mode 100644
index 0000000..8be11a2
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
@@ -0,0 +1,7 @@
+# Vivante EGL headers require the correct preprocessor
+# defines to be set for each platform
+CFLAGS_append_mx6 = " -DLINUX \
+ ${@base_contains('DISTRO_FEATURES', 'x11', '', \
+ base_contains('DISTRO_FEATURES', 'wayland', '-DEGL_API_FB -DEGL_API_WL', \
+ base_contains('DISTRO_FEATURES', 'directfb', '-DEGL_API_DFB', \
+ '-DEGL_API_FB', d),d),d)}"