aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2018-10-25 10:26:58 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2018-10-26 14:23:37 -0300
commitb172aa6efdb8a26eb025f93be8a70e356abfceb1 (patch)
treeeccb89e7644924c9ee932c37e1e58033bf53038d /recipes-bsp
parent92f94daf8c24de427ab2a120a95564d4dca52117 (diff)
downloadmeta-freescale-b172aa6efdb8a26eb025f93be8a70e356abfceb1.tar.gz
meta-freescale-b172aa6efdb8a26eb025f93be8a70e356abfceb1.tar.bz2
meta-freescale-b172aa6efdb8a26eb025f93be8a70e356abfceb1.zip
imx-test: 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-test/imx-test_git.bb12
1 files changed, 4 insertions, 8 deletions
diff --git a/recipes-bsp/imx-test/imx-test_git.bb b/recipes-bsp/imx-test/imx-test_git.bb
index 4590b1a4..729e2670 100644
--- a/recipes-bsp/imx-test/imx-test_git.bb
+++ b/recipes-bsp/imx-test/imx-test_git.bb
@@ -8,7 +8,7 @@ SECTION = "base"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-DEPENDS = "virtual/kernel alsa-lib libdrm"
+DEPENDS = "linux-imx-headers alsa-lib libdrm"
DEPENDS_append_mx6 = " imx-lib"
DEPENDS_append_mx7 = " imx-lib"
@@ -57,13 +57,7 @@ do_compile() {
CROSS_COMPILE=${TARGET_PREFIX} \
INC="-I${STAGING_INCDIR} \
-I${S}/include \
- -I${STAGING_KERNEL_BUILDDIR}/include/uapi \
- -I${STAGING_KERNEL_BUILDDIR}/include \
- -I${STAGING_KERNEL_DIR}/include/uapi \
- -I${STAGING_KERNEL_DIR}/include \
- -I${STAGING_KERNEL_DIR}/arch/arm/include \
- -I${STAGING_KERNEL_DIR}/drivers/mxc/security/rng/include \
- -I${STAGING_KERNEL_DIR}/drivers/mxc/security/sahara2/include" \
+ -I${STAGING_INCDIR}/imx" \
CC="${CC} -L${STAGING_LIBDIR} ${LDFLAGS}" \
SDKTARGETSYSROOT=${STAGING_DIR_HOST} \
LINUXPATH=${STAGING_KERNEL_DIR} \
@@ -87,4 +81,6 @@ FILES_${PN} += "/unit_tests /home/root/.profile"
RDEPENDS_${PN} = "bash"
FILES_${PN}-dbg += "/unit_tests/.debug"
+
+PACKAGE_ARCH = "${MACHINE_SOCARCH}"
COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"