The imx-vpu package builds just fine without any special kernel header.
Cc: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
config BR2_PACKAGE_IMX_VPU
bool "imx-vpu"
- depends on BR2_LINUX_KERNEL
depends on BR2_arm # Only relevant for i.MX
select BR2_PACKAGE_FIRMWARE_IMX
help
This library is provided by Freescale as-is and doesn't have
an upstream.
-
-comment "imx-vpu needs an imx-specific Linux kernel to be built"
- depends on BR2_arm
- depends on !BR2_LINUX_KERNEL
IMX_VPU_INSTALL_STAGING = YES
-# imx-vpu needs access to imx-specific kernel headers
-IMX_VPU_DEPENDENCIES += linux
IMX_VPU_MAKE_ENV = \
$(TARGET_MAKE_ENV) \
$(TARGET_CONFIGURE_OPTS) \
CROSS_COMPILE="$(CCACHE) $(TARGET_CROSS)" \
- PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM) \
- INCLUDE="-idirafter $(LINUX_DIR)/include"
+ PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM)
IMX_VPU_LICENSE = Freescale Semiconductor Software License Agreement
IMX_VPU_LICENSE_FILES = EULA vpu/EULA.txt