]> code.ossystems Code Review - meta-freescale.git/commitdiff
u-boot: Add work around for -lgcc not found
authorMatthew McClintock <msm@freescale.com>
Tue, 22 Nov 2011 02:55:34 +0000 (20:55 -0600)
committerMatthew McClintock <msm@freescale.com>
Tue, 22 Nov 2011 02:55:34 +0000 (20:55 -0600)
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 <msm@freescale.com>
meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb

index 8ef4856851333540b3520f83ff22d210e7204ea1..28cad381690d7703a650135354fd8d6e3cb7c22a 100644 (file)
@@ -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 ?= ""