From: Matthew McClintock Date: Tue, 22 Nov 2011 02:55:34 +0000 (-0600) Subject: u-boot: Add work around for -lgcc not found X-Git-Tag: 2.1~534^2~559 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=85b559aa923e3292d233e4c7d68226dda00c83a9;p=meta-freescale.git u-boot: Add work around for -lgcc not found With just CROSS_COMPILE defined we do not modify the CFLAGS to include the required --sysroot arguments. By adding CC as well the appropriate arguments are passed in. Signed-off-by: Matthew McClintock --- diff --git a/meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb b/meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb index 8ef48568..28cad381 100644 --- a/meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb +++ b/meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb @@ -15,7 +15,7 @@ SRCREV = "348d8fceba39e5622d315ffda7d72ff6bbcf05ec" SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git \ " -EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" +EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}"' PACKAGE_ARCH = "${MACHINE_ARCH}" USRC ?= ""