aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2018-10-25 09:39:36 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2018-10-26 14:23:37 -0300
commit92f94daf8c24de427ab2a120a95564d4dca52117 (patch)
tree7e27c68519abdac1cdacde7596047e6968d9f156 /recipes-bsp
parent1ca0fb4bb553fbc247c4e25760a771e569464930 (diff)
downloadmeta-freescale-92f94daf8c24de427ab2a120a95564d4dca52117.tar.gz
meta-freescale-92f94daf8c24de427ab2a120a95564d4dca52117.tar.bz2
meta-freescale-92f94daf8c24de427ab2a120a95564d4dca52117.zip
imx-lib: Use linux-imx-headers
This reworks make use of linux-imx-headers and set it as SoC arch compatible. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/imx-lib/imx-lib_git.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-bsp/imx-lib/imx-lib_git.bb b/recipes-bsp/imx-lib/imx-lib_git.bb
index 466d9c03..d9258a1c 100644
--- a/recipes-bsp/imx-lib/imx-lib_git.bb
+++ b/recipes-bsp/imx-lib/imx-lib_git.bb
@@ -5,7 +5,8 @@
DESCRIPTION = "Platform specific libraries for imx platform"
LICENSE = "LGPLv2.1"
SECTION = "multimedia"
-DEPENDS = "virtual/kernel"
+
+DEPENDS = "linux-imx-headers"
LIC_FILES_CHKSUM = "file://COPYING-LGPL-2.1;md5=fbc093901857fcd118f065f900982c24"
@@ -32,7 +33,7 @@ PARALLEL_MAKE="-j 1"
EXTRA_OEMAKE = ""
do_compile () {
- INCLUDE_DIR="-I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include"
+ INCLUDE_DIR="-I${STAGING_INCDIR}/imx"
oe_runmake CROSS_COMPILE="${HOST_PREFIX}" PLATFORM="${PLATFORM}" INCLUDE="${INCLUDE_DIR}" all
}
@@ -41,3 +42,4 @@ do_install () {
}
COMPATIBLE_MACHINE = "(mx6|mx7)"
+PACKAGE_ARCH = "${MACHINE_SOCARCH}"