default "IMX53" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53
default "IMX6Q" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
+config BR2_PACKAGE_FREESCALE_IMX_HAS_VPU
+ bool
+ default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS || \
+ BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 || \
+ BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53 || \
+ BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
+
source "package/freescale-imx/imx-kobs/Config.in"
source "package/freescale-imx/imx-lib/Config.in"
source "package/freescale-imx/imx-vpu/Config.in"
+comment "imx-vpu needs an i.MX platform with VPU support"
+ depends on BR2_arm
+ depends on !BR2_PACKAGE_FREESCALE_IMX_HAS_VPU
+
config BR2_PACKAGE_IMX_VPU
bool "imx-vpu"
depends on BR2_arm # Only relevant for i.MX
+ depends on BR2_PACKAGE_FREESCALE_IMX_HAS_VPU
select BR2_PACKAGE_FIRMWARE_IMX
help
Library of userspace helpers specific for the Freescale i.MX
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
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) \
depends on BR2_arm
depends on !BR2_LINUX_KERNEL
+comment "libfslvpuwrap needs an i.MX platform with VPU support"
+ depends on BR2_arm
+ depends on BR2_LINUX_KERNEL && !BR2_PACKAGE_FREESCALE_IMX_HAS_VPU
+
config BR2_PACKAGE_LIBFSLVPUWRAP
bool "libfslvpuwrap"
depends on BR2_LINUX_KERNEL
depends on BR2_arm # Only relevant for i.MX
- select BR2_PACKAGE_FREESCALE_IMX
+ depends on BR2_PACKAGE_FREESCALE_IMX_HAS_VPU
select BR2_PACKAGE_IMX_VPU
help
Wrapper library for the vpu library, giving it a different API.
+comment "libimxvpuapi needs an i.MX platform with VPU support"
+ depends on BR2_arm
+ depends on !BR2_PACKAGE_FREESCALE_IMX_HAS_VPU
+
config BR2_PACKAGE_LIBIMXVPUAPI
bool "libimxvpuapi"
depends on BR2_arm # Only relevant for i.MX
- select BR2_PACKAGE_FREESCALE_IMX
+ depends on BR2_PACKAGE_FREESCALE_IMX_HAS_VPU
select BR2_PACKAGE_IMX_VPU
help
This library provides an API for using the iMX6 VPU video