From 4112aeb056856190a1a9d19a09749d7b94315bee Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Thu, 12 Mar 2015 14:46:04 +0100 Subject: [PATCH] meta-digi-arm: fix build error in imx-bootlets-dey With yocto 1.8 we need to pass CC and LD from yocto environment to imx-bootlets makefile. Otherwise it fails: arm-dey-linux-gnueabi-ld: cannot find -lgcc make[1]: *** [output-target/linux_prep] Error 1 https://jira.digi.com/browse/DEL-1558 Signed-off-by: Javier Viguera --- .../recipes-bsp/imx-bootlets-dey/imx-bootlets-dey_git.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta-digi-arm/recipes-bsp/imx-bootlets-dey/imx-bootlets-dey_git.bb b/meta-digi-arm/recipes-bsp/imx-bootlets-dey/imx-bootlets-dey_git.bb index 02572fb2d..a0922ffb9 100644 --- a/meta-digi-arm/recipes-bsp/imx-bootlets-dey/imx-bootlets-dey_git.bb +++ b/meta-digi-arm/recipes-bsp/imx-bootlets-dey/imx-bootlets-dey_git.bb @@ -20,7 +20,12 @@ S = "${WORKDIR}/git" # Disable parallel building or it may fail to build. PARALLEL_MAKE = "" -EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} BOARD=${IMXBOOTLETS_MACHINE}" +EXTRA_OEMAKE = "\ + BOARD='${IMXBOOTLETS_MACHINE}' \ + CROSS_COMPILE='${TARGET_PREFIX}' \ + CC='${CC}' \ + LD='${LD}' \ +" # Ensure machine defines the IMXBOOTLETS_MACHINE python () {