From bc937ade566528cc097c9321694c0f5f5ef8cbf6 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Thu, 25 Oct 2018 22:44:12 -0300 Subject: classes/use-imx-headers: Easy linux-imx-headers use This allow to easy reuse of binary packages among similar SoCs. The usual use for this is to share SoC specific packages among different boards independently of the kernel version it is using, as far it is ABI compatible with the official version it will just work. Following recipes has been reworked to make use of the class: - imx-lib - imx-test - imx-vpu-hantro - imx-vpu - imx-alsa-plugins - gstreamer1.0-plugins-base - gstreamer1.0-plugins-imx - imx-gst1.0-plugin Signed-off-by: Otavio Salvador Signed-off-by: Tom Hochstein --- recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'recipes-bsp/imx-vpu') diff --git a/recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb b/recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb index aebee4f0..185bb3d1 100644 --- a/recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb +++ b/recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb @@ -6,8 +6,6 @@ DESCRIPTION = "Freescale Chips&Media VPU library" LICENSE = "Proprietary" LIC_FILES_CHKSUM = "file://COPYING;md5=75abe2fa1d16ca79f87cde926f05f72d" -DEPENDS = "linux-imx-headers" - PROVIDES = "virtual/imxvpu" PE = "1" @@ -17,12 +15,12 @@ SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" SRC_URI[md5sum] = "521d5f839829f8d1f2a6a0e60270243e" SRC_URI[sha256sum] = "34bed0ddf6c797f444bddfa5d5495adc751ff268b6431d8beb48129c89c9e47f" -inherit fsl-eula-unpack +inherit fsl-eula-unpack use-imx-headers PLATFORM_mx6 = "IMX6Q" do_compile () { - INCLUDE_DIR="-I${STAGING_INCDIR}/imx" + INCLUDE_DIR="-I${STAGING_INCDIR_IMX}" oe_runmake CROSS_COMPILE="${HOST_PREFIX}" PLATFORM="${PLATFORM}" INCLUDE="${INCLUDE_DIR}" all } @@ -30,5 +28,4 @@ do_install () { oe_runmake PLATFORM="${PLATFORM}" DEST_DIR="${D}" install } -PACKAGE_ARCH = "${MACHINE_SOCARCH}" COMPATIBLE_MACHINE = "(mx6q|mx6dl)" -- cgit v1.2.3-54-g00ecf