summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-bootlets
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2013-09-21 18:22:20 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2013-09-23 16:47:57 -0300
commit49230044f3f539df519db8dce45246a79ddd7938 (patch)
tree8e81d3edfd2e18123303f311e9d393ef2e04beb1 /recipes-bsp/imx-bootlets
parentf6d28859ee5f637aef5466cd0c3137cb49985c06 (diff)
downloadmeta-fsl-arm-49230044f3f539df519db8dce45246a79ddd7938.tar.gz
imx-bootlets: Pass sysroot for compiler and linker
The build need to have the sysroot information explicit; the build system of the imx-bootlets is horrible and does not reuse the values provided by the environment so we need to force them. This fixes a build failure in Crystal boards. Change-Id: Ie5f0bd7271c90f219fdded320da579fa95ace159 Reported-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-bsp/imx-bootlets')
-rw-r--r--recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb b/recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb
index 1ddfb6f..dd34ba8 100644
--- a/recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb
+++ b/recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb
@@ -39,7 +39,9 @@ do_configure () {
39do_compile () { 39do_compile () {
40 oe_runmake BOARD=${IMXBOOTLETS_MACHINE} linux_prep \ 40 oe_runmake BOARD=${IMXBOOTLETS_MACHINE} linux_prep \
41 boot_prep \ 41 boot_prep \
42 power_prep 42 power_prep \
43 'CC=${TARGET_PREFIX}gcc --sysroot="${STAGING_DIR_TARGET}"' \
44 'LD=${TARGET_PREFIX}ld --sysroot="${STAGING_DIR_TARGET}"'
43} 45}
44 46
45do_install () { 47do_install () {