From 051633c17434fb0d2cac671ec2f98c2fa1856ad1 Mon Sep 17 00:00:00 2001 From: Carlos Rafael Giani Date: Sat, 28 Jun 2014 00:13:08 +0200 Subject: [PATCH] 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 Signed-off-by: Otavio Salvador --- .../gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend 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 index 00000000..8be11a29 --- /dev/null +++ b/meta-fsl-arm/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)}" -- 2.40.1