aboutsummaryrefslogtreecommitdiff
path: root/package/gstreamer
diff options
context:
space:
mode:
authorGravatar Gary Bisson <gary.bisson@boundarydevices.com>2016-03-09 16:05:09 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-29 16:24:18 +0200
commit3b0b67afe1c40aaeabceb8b382a120658b895c7c (patch)
tree234344be530a05348b36c3d0e3d09d36494a778e /package/gstreamer
parente1c9a2349006e657e76dff35706a774376921fb7 (diff)
downloadbuildroot-3b0b67afe1c40aaeabceb8b382a120658b895c7c.tar.gz
buildroot-3b0b67afe1c40aaeabceb8b382a120658b895c7c.tar.bz2
freescale-imx: add BR2_PACKAGE_FREESCALE_IMX_HAS_VPU config
Since the imx-vpu package build is skipped if the platform doesn't have a VPU, libraries dependent on the package such as libimxvpuapi can fail although the imx-vpu package build went "fine". This patch therefore adds a BR2_PACKAGE_FREESCALE_IMX_HAS_VPU config which is used in every package selecting imx-vpu directly or indrectly. It fixes the following build errors: http://autobuild.buildroot.net/results/892/8924b17f3aa5eba1a8016d84d4478ecb0a96b236/ http://autobuild.buildroot.net/results/86f/86fef2a30065d5bc0d7755706e9ca3332426834d/ http://autobuild.buildroot.net/results/b47/b47eb03e93e2f1af85caebb707f7b4667f7e3d74/ http://autobuild.buildroot.net/results/4c9/4c9b22b33533132fd9f88917cc341ae2c2e171a8/ http://autobuild.buildroot.net/results/a8b/a8b33bfd099d9b9cd383cc568ea70846eb13c34d/ Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gstreamer')
-rw-r--r--package/gstreamer/gst-fsl-plugins/Config.in3
-rw-r--r--package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk6
2 files changed, 6 insertions, 3 deletions
diff --git a/package/gstreamer/gst-fsl-plugins/Config.in b/package/gstreamer/gst-fsl-plugins/Config.in
index a4a260681f..0407dc5251 100644
--- a/package/gstreamer/gst-fsl-plugins/Config.in
+++ b/package/gstreamer/gst-fsl-plugins/Config.in
@@ -11,9 +11,8 @@ config BR2_PACKAGE_GST_FSL_PLUGINS
depends on BR2_arm # Only relevant for i.MX
depends on BR2_TOOLCHAIN_USES_GLIBC # libfslcodec
select BR2_PACKAGE_GST_PLUGINS_BASE
- select BR2_PACKAGE_LIBFSLVPUWRAP
+ select BR2_PACKAGE_LIBFSLVPUWRAP if BR2_PACKAGE_FREESCALE_IMX_HAS_VPU
select BR2_PACKAGE_IMX_LIB
- select BR2_PACKAGE_IMX_VPU
select BR2_PACKAGE_LIBFSLPARSER
select BR2_PACKAGE_LIBFSLCODEC
select BR2_PACKAGE_FREESCALE_IMX
diff --git a/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk b/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk
index 2ac558a2fb..fa0e093a96 100644
--- a/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk
+++ b/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk
@@ -16,7 +16,11 @@ GST_FSL_PLUGINS_INSTALL_STAGING = YES
GST_FSL_PLUGINS_AUTORECONF = YES
GST_FSL_PLUGINS_DEPENDENCIES += host-pkgconf gstreamer gst-plugins-base \
- libfslvpuwrap imx-lib imx-vpu libfslparser libfslcodec
+ imx-lib libfslparser libfslcodec
+
+ifeq ($(BR2_PACKAGE_FREESCALE_IMX_HAS_VPU),y)
+GST_FSL_PLUGINS_DEPENDENCIES += libfslvpuwrap
+endif
GST_FSL_PLUGINS_CONF_ENV = \
PLATFORM=$(BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM) \