[meta-freescale] [meta-fsl-arm PATCH v3 14/17] gstreamer1.0-plugins-imx: Refactor code to use the new overrides

Otavio Salvador otavio at ossystems.com.br
Tue Sep 6 10:58:06 PDT 2016


The recipe has been reworked to use the 'imxpxp', 'imxipu', 'imxvpu',
'imxgpu2d' and 'imxgpu3d' feature overrides.

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---

Changes in v3:
- Fix wrong setting for 2D GPUs (Tom)

Changes in v2: None

 .../gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb             | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb
index eb609bb..3ac54f2 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb
@@ -40,12 +40,12 @@ EGLVIVSINK_DEPENDS = " \
        bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
        '', d),d)}"
 
-PACKAGECONFIG ?= ""
-PACKAGECONFIG_mx6q = "uniaudiodec mp3encoder v4l2src g2d eglvivsink ipu vpu"
-PACKAGECONFIG_mx6dl = "uniaudiodec mp3encoder v4l2src pxp g2d eglvivsink ipu vpu"
-PACKAGECONFIG_mx6sx = "uniaudiodec mp3encoder v4l2src pxp g2d eglvivsink"
-PACKAGECONFIG_mx6sl = "uniaudiodec mp3encoder v4l2src pxp g2d"
-PACKAGECONFIG_mx7 = "uniaudiodec mp3encoder v4l2src pxp"
+PACKAGECONFIG ?= "uniaudiodec mp3encoder v4l2src"
+PACKAGECONFIG_append_imxgpu3d = " eglvivsink"
+PACKAGECONFIG_append_imxgpu2d = " g2d"
+PACKAGECONFIG_append_imxipu   = " ipu"
+PACKAGECONFIG_append_imxvpu   = " vpu"
+PACKAGECONFIG_append_imxpxp   = " pxp"
 
 PACKAGECONFIG[g2d] = ",--disable-g2d,imx-gpu-viv"
 PACKAGECONFIG[pxp] = ",--disable-pxp,"
-- 
2.9.3



More information about the meta-freescale mailing list