[meta-freescale] [FEATURE meta-fsl-arm PATCH 14/15] gstreamer1.0-plugins-imx: Refactor code to use the new overrides
Otavio Salvador
otavio at ossystems.com.br
Mon Aug 29 10:04:32 PDT 2016
The recipe has been reworked to use the 'imxpxp', 'imxipu', 'imxvpu'
and 'imxgpu2d' feature overrides.
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
.../gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb | 11 +++++------
1 file changed, 5 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..e7aeff8 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,11 @@ 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_imxgpu2d = " g2d eglvivsink"
+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