diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2015-01-19 17:30:56 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-01-22 14:03:14 -0200 |
commit | 4d8024331715ff871e730342de16bce4cd985b88 (patch) | |
tree | 1277f7524632c11b68658a840831ab0fafcc45c6 /recipes-bsp/imx-test | |
parent | 4241de6adfb509b3d306ae6d9cf6e5af188a712d (diff) | |
download | meta-fsl-arm-4d8024331715ff871e730342de16bce4cd985b88.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>
Diffstat (limited to 'recipes-bsp/imx-test')
-rw-r--r-- | recipes-bsp/imx-test/imx-test.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-bsp/imx-test/imx-test.inc b/recipes-bsp/imx-test/imx-test.inc index 6e41f61..cba72f5 100644 --- a/recipes-bsp/imx-test/imx-test.inc +++ b/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 | ||