3b0b67afe1
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>
66 lines
2.1 KiB
Plaintext
66 lines
2.1 KiB
Plaintext
menuconfig BR2_PACKAGE_FREESCALE_IMX
|
|
bool "Freescale i.MX libraries"
|
|
depends on BR2_arm
|
|
help
|
|
Those packages provide hardware acceleration for GPU or VPU, hardware
|
|
optimization or some hardware tools for Freescale i.MX platforms.
|
|
|
|
if BR2_PACKAGE_FREESCALE_IMX
|
|
choice
|
|
prompt "i.MX platform"
|
|
|
|
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX25_3STACK
|
|
bool "imx25-3stack"
|
|
|
|
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS
|
|
bool "imx27ads"
|
|
|
|
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX37_3STACK
|
|
bool "imx37-3stack"
|
|
|
|
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX50
|
|
bool "imx50"
|
|
|
|
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51
|
|
bool "imx51"
|
|
|
|
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53
|
|
bool "imx53"
|
|
|
|
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
|
|
bool "imx6q"
|
|
|
|
endchoice
|
|
|
|
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM
|
|
string
|
|
default "IMX25_3STACK" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX25_3STACK
|
|
default "IMX27ADS" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS
|
|
default "IMX37_3STACK" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX37_3STACK
|
|
default "IMX50" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX50
|
|
default "IMX51" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51
|
|
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"
|
|
source "package/freescale-imx/firmware-imx/Config.in"
|
|
if (BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 || BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53)
|
|
source "package/freescale-imx/gpu-amd-bin-mx51/Config.in"
|
|
source "package/freescale-imx/libz160/Config.in"
|
|
endif
|
|
if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
|
|
source "package/freescale-imx/imx-gpu-viv/Config.in"
|
|
source "package/freescale-imx/kernel-module-imx-gpu-viv/Config.in"
|
|
endif
|
|
|
|
endif
|