aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaiane Angolini <daiane.angolini@freescale.com>2013-06-12 18:07:41 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2013-06-27 11:21:15 -0300
commit42ace2971e25eba042a1058358ffc84722794f67 (patch)
tree51810395a67aad5648b5b191a3eff438f9a6cb80
parent137f4b926124e872a740e0b1b598d54a8944c8cb (diff)
downloadmeta-fsl-arm-42ace2971e25eba042a1058358ffc84722794f67.tar.gz
meta-fsl-arm-42ace2971e25eba042a1058358ffc84722794f67.tar.bz2
meta-fsl-arm-42ace2971e25eba042a1058358ffc84722794f67.zip
imx-test: Fix the compile command
It includes the same INCLUDE_DIR from imx-lib Change-Id: Ie2a5aeff621a6c333e14d24a8c0e78a7b72ba50c Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
-rw-r--r--recipes-bsp/imx-test/imx-test.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes-bsp/imx-test/imx-test.inc b/recipes-bsp/imx-test/imx-test.inc
index 20c65ec..ab0c6e2 100644
--- a/recipes-bsp/imx-test/imx-test.inc
+++ b/recipes-bsp/imx-test/imx-test.inc
@@ -15,10 +15,15 @@ SRC_URI = "${FSL_MIRROR}/imx-test-${PV}.tar.gz \
file://clocks.sh \
file://mxc_x11_test-exclude-IMX-5-6-platforms.patch"
+INCLUDE_DIR="-I${STAGING_INCDIR} \
+ -I${STAGING_KERNEL_DIR}/include \
+ -I${STAGING_KERNEL_DIR}/drivers/mxc/security/rng/include \
+ -I${STAGING_KERNEL_DIR}/drivers/mxc/security/sahara2/include"
do_compile() {
LDFLAGS="" make PLATFORM=${PLATFORM} LINUXPATH=${STAGING_KERNEL_DIR} \
- KBUILD_OUTPUT=${STAGING_KERNEL_DIR} CROSS_COMPILE=${TARGET_PREFIX} V=1
+ KBUILD_OUTPUT=${STAGING_KERNEL_DIR} CROSS_COMPILE=${TARGET_PREFIX} V=1 \
+ INC="${INCLUDE_DIR}"
}
do_install() {