summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2015-01-19 17:30:56 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2015-01-22 14:03:14 -0200
commitbc7e204100fbd28fa1631345af51daa55b8441d9 (patch)
treea04d64f3b29a31ba261b2a736dd4dfc72d5b9a4c
parente5f0b40ef2b8d3da29cc92a1b86fb64758279adb (diff)
downloadmeta-freescale-bc7e204100fbd28fa1631345af51daa55b8441d9.tar.gz
imx-test: Fix build with the work-shared kernel source
The Kernel sources has now been moved out of sstate control and to make this easier to spot this has been moved to tmp/work-shared/ directory. One good consequence of this change is that the built artifacts are controlled by the Linux build system itself and its path is now exported in STAGING_KERNEL_BUILDDIR variable. This path adapts the build params to this new layout. Change-Id: Ie27ef289aa3ae4c2593303ccbc450e0fd53b49cd Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--meta-fsl-arm/recipes-bsp/imx-test/imx-test.inc4
1 files changed, 3 insertions, 1 deletions
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 6e41f6190..cba72f585 100644
--- a/meta-fsl-arm/recipes-bsp/imx-test/imx-test.inc
+++ b/meta-fsl-arm/recipes-bsp/imx-test/imx-test.inc
@@ -41,13 +41,15 @@ do_compile() {
41 CROSS_COMPILE=${TARGET_PREFIX} \ 41 CROSS_COMPILE=${TARGET_PREFIX} \
42 INC="-I${STAGING_INCDIR} \ 42 INC="-I${STAGING_INCDIR} \
43 -I${S}/include \ 43 -I${S}/include \
44 -I${STAGING_KERNEL_BUILDDIR}/include/uapi \
45 -I${STAGING_KERNEL_BUILDDIR}/include \
44 -I${STAGING_KERNEL_DIR}/include/uapi \ 46 -I${STAGING_KERNEL_DIR}/include/uapi \
45 -I${STAGING_KERNEL_DIR}/include \ 47 -I${STAGING_KERNEL_DIR}/include \
46 -I${STAGING_KERNEL_DIR}/arch/arm/include \ 48 -I${STAGING_KERNEL_DIR}/arch/arm/include \
47 -I${STAGING_KERNEL_DIR}/drivers/mxc/security/rng/include \ 49 -I${STAGING_KERNEL_DIR}/drivers/mxc/security/rng/include \
48 -I${STAGING_KERNEL_DIR}/drivers/mxc/security/sahara2/include" \ 50 -I${STAGING_KERNEL_DIR}/drivers/mxc/security/sahara2/include" \
49 LINUXPATH=${STAGING_KERNEL_DIR} \ 51 LINUXPATH=${STAGING_KERNEL_DIR} \
50 KBUILD_OUTPUT=${STAGING_KERNEL_DIR} \ 52 KBUILD_OUTPUT=${STAGING_KERNEL_BUILDDIR} \
51 PLATFORM=${PLATFORM} 53 PLATFORM=${PLATFORM}
52} 54}
53 55