From: Daiane Angolini Date: Wed, 12 Jun 2013 18:07:41 +0000 (+0000) Subject: imx-test: Fix the compile command X-Git-Tag: 2.1~1343 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d7dfcd1b21854aa77bdf4bc43b15eb194107766c;p=meta-freescale.git imx-test: Fix the compile command It includes the same INCLUDE_DIR from imx-lib Change-Id: Ie2a5aeff621a6c333e14d24a8c0e78a7b72ba50c Signed-off-by: Daiane Angolini --- diff --git a/meta-fsl-arm/recipes-bsp/imx-test/imx-test.inc b/meta-fsl-arm/recipes-bsp/imx-test/imx-test.inc index 20c65ec5..ab0c6e2f 100644 --- a/meta-fsl-arm/recipes-bsp/imx-test/imx-test.inc +++ b/meta-fsl-arm/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() {