]> code.ossystems Code Review - meta-freescale.git/commitdiff
gstreamer1.0-plugins-bad: set correct EGL defines for Vivante GPUs
authorCarlos Rafael Giani <dv@pseudoterminal.org>
Fri, 27 Jun 2014 22:13:08 +0000 (00:13 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Sat, 28 Jun 2014 17:35:54 +0000 (14:35 -0300)
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>
meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend [new file with mode: 0644]

diff --git a/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
new file mode 100644 (file)
index 0000000..8be11a2
--- /dev/null
@@ -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)}"