diff options
author | Matthew McClintock <msm@freescale.com> | 2011-11-21 20:55:34 -0600 |
---|---|---|
committer | Matthew McClintock <msm@freescale.com> | 2011-11-21 20:55:34 -0600 |
commit | 8893dc9bd33b86121fe42f0dd90d1fc2f60afc50 (patch) | |
tree | 1a3ef814dd8b3d0f80cb9660cb789d539e0ec5f0 /recipes-kernel | |
parent | 990a743e302eefc1b3e4cf76283420005ec232c0 (diff) | |
download | meta-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.bb | 2 |
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" | |||
15 | SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git \ | 15 | SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git \ |
16 | " | 16 | " |
17 | 17 | ||
18 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" | 18 | EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}"' |
19 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 19 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
20 | 20 | ||
21 | USRC ?= "" | 21 | USRC ?= "" |