[meta-freescale] [PATCH 1/3] gstreamer1.0-plugins-bad: Add dependency on imx-gpu-viv for i.MX6q/dl/sx

Yuqing Zhu carol.zhu at nxp.com
Mon Oct 31 03:46:04 PDT 2016


It needs the G2D support for i.MX6q/dl/sx.

And the OpenGL ES head files in imx-gpu-viv package provides some special definitions needed when do compiling.

Signed-off-by: Yuqing Zhu <carol.zhu at nxp.com>
---
 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
index adc75b7..57f7d12 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
@@ -2,6 +2,11 @@
 # defines to be set for each platform
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
+# Add dependency for the SoC which has G2D
+DEPENDS_append_mx6q = " imx-gpu-viv"
+DEPENDS_append_mx6dl = " imx-gpu-viv"
+DEPENDS_append_mx6sx = " imx-gpu-viv"
+
 CFLAGS_append_mx6 = " -DLINUX \
                       ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \
                          bb.utils.contains('DISTRO_FEATURES', 'wayland', '-DEGL_API_FB -DWL_EGL_PLATFORM', '-DEGL_API_FB', d), d)}"
-- 
1.9.1



More information about the meta-freescale mailing list