From 85b559aa923e3292d233e4c7d68226dda00c83a9 Mon Sep 17 00:00:00 2001 From: Matthew McClintock Date: Mon, 21 Nov 2011 20:55:34 -0600 Subject: [PATCH] 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 --- meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ?= "" -- 2.40.1