From ab6bd102e360ef9f6eff3df6e6d4bf9a9600f3c9 Mon Sep 17 00:00:00 2001 From: Daiane Angolini Date: Wed, 12 Jun 2013 18:07:41 +0000 Subject: imx-test: Fix the compile command It includes the same INCLUDE_DIR from imx-lib Change-Id: Ie2a5aeff621a6c333e14d24a8c0e78a7b72ba50c Signed-off-by: Daiane Angolini --- recipes-bsp/imx-test/imx-test.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'recipes-bsp/imx-test') 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() { -- cgit v1.2.3-54-g00ecf