summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2011-11-21 20:55:34 -0600
committerMatthew McClintock <msm@freescale.com>2011-11-21 20:55:34 -0600
commit8893dc9bd33b86121fe42f0dd90d1fc2f60afc50 (patch)
tree1a3ef814dd8b3d0f80cb9660cb789d539e0ec5f0 /recipes-kernel
parent990a743e302eefc1b3e4cf76283420005ec232c0 (diff)
downloadmeta-fsl-ppc-8893dc9bd33b86121fe42f0dd90d1fc2f60afc50.tar.gz
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 <msm@freescale.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/u-boot/u-boot_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-kernel/u-boot/u-boot_git.bb b/recipes-kernel/u-boot/u-boot_git.bb
index 8ef4856..28cad38 100644
--- a/recipes-kernel/u-boot/u-boot_git.bb
+++ b/recipes-kernel/u-boot/u-boot_git.bb
@@ -15,7 +15,7 @@ SRCREV = "348d8fceba39e5622d315ffda7d72ff6bbcf05ec"
15SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git \ 15SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git \
16 " 16 "
17 17
18EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" 18EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}"'
19PACKAGE_ARCH = "${MACHINE_ARCH}" 19PACKAGE_ARCH = "${MACHINE_ARCH}"
20 20
21USRC ?= "" 21USRC ?= ""