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-lib/imx-lib_git.bb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'recipes-bsp/imx-lib') diff --git a/recipes-bsp/imx-lib/imx-lib_git.bb b/recipes-bsp/imx-lib/imx-lib_git.bb index d9258a1c5..d94b2daac 100644 --- a/recipes-bsp/imx-lib/imx-lib_git.bb +++ b/recipes-bsp/imx-lib/imx-lib_git.bb @@ -6,8 +6,6 @@ DESCRIPTION = "Platform specific libraries for imx platform" LICENSE = "LGPLv2.1" SECTION = "multimedia" -DEPENDS = "linux-imx-headers" - LIC_FILES_CHKSUM = "file://COPYING-LGPL-2.1;md5=fbc093901857fcd118f065f900982c24" PE = "1" @@ -20,6 +18,8 @@ SRCREV = "3f777974c0c146817e2ff5cb0340ca66a1f99e57" S = "${WORKDIR}/git" +inherit use-imx-headers + PLATFORM_mx6q = "IMX6Q" PLATFORM_mx6dl = "IMX6Q" PLATFORM_mx6sl = "IMX6S" @@ -33,7 +33,7 @@ PARALLEL_MAKE="-j 1" EXTRA_OEMAKE = "" 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 } @@ -42,4 +42,3 @@ do_install () { } COMPATIBLE_MACHINE = "(mx6|mx7)" -PACKAGE_ARCH = "${MACHINE_SOCARCH}" -- cgit v1.2.3-54-g00ecf