diff mbox

[1/2] imx-vpu: remove kernel dependency

Message ID 0bc73d48fdc587c9efd46e5d1c18bd1485bc1e28.1441212853.git.baruch@tkos.co.il
State Accepted
Headers show

Commit Message

Baruch Siach Sept. 2, 2015, 4:54 p.m. UTC
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>
---
 package/freescale-imx/imx-vpu/Config.in  | 5 -----
 package/freescale-imx/imx-vpu/imx-vpu.mk | 5 +----
 2 files changed, 1 insertion(+), 9 deletions(-)

Comments

Gary Bisson Sept. 4, 2015, 9:46 a.m. UTC | #1
Hi Baruch,

On Wed, Sep 2, 2015 at 6:54 PM, Baruch Siach <baruch@tkos.co.il> wrote:
> The imx-vpu package builds just fine without any special kernel header.

Indeed it seems that it builds fine without it. Yocto recipe still
depends on the kernel but I see no point in keeping it.

Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>

Thanks,
Gary
Thomas Petazzoni Oct. 2, 2015, 7:08 p.m. UTC | #2
Dear Baruch Siach,

On Wed,  2 Sep 2015 19:54:12 +0300, Baruch Siach wrote:
> 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>
> ---
>  package/freescale-imx/imx-vpu/Config.in  | 5 -----
>  package/freescale-imx/imx-vpu/imx-vpu.mk | 5 +----
>  2 files changed, 1 insertion(+), 9 deletions(-)

Both patches applied, thanks.

Thomas
diff mbox

Patch

diff --git a/package/freescale-imx/imx-vpu/Config.in b/package/freescale-imx/imx-vpu/Config.in
index 8a9541607bcf..220385cec83d 100644
--- a/package/freescale-imx/imx-vpu/Config.in
+++ b/package/freescale-imx/imx-vpu/Config.in
@@ -1,6 +1,5 @@ 
 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
@@ -11,7 +10,3 @@  config BR2_PACKAGE_IMX_VPU
 
 	  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
diff --git a/package/freescale-imx/imx-vpu/imx-vpu.mk b/package/freescale-imx/imx-vpu/imx-vpu.mk
index 4c4a0311144f..599dce85c945 100644
--- a/package/freescale-imx/imx-vpu/imx-vpu.mk
+++ b/package/freescale-imx/imx-vpu/imx-vpu.mk
@@ -10,14 +10,11 @@  IMX_VPU_SOURCE = imx-vpu-$(IMX_VPU_VERSION).bin
 
 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