diff options
Diffstat (limited to 'meta/recipes-bsp/uboot/u-boot.inc')
-rw-r--r-- | meta/recipes-bsp/uboot/u-boot.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-bsp/uboot/u-boot.inc b/meta/recipes-bsp/uboot/u-boot.inc index 889f6215e..6363474e5 100644 --- a/meta/recipes-bsp/uboot/u-boot.inc +++ b/meta/recipes-bsp/uboot/u-boot.inc @@ -9,7 +9,8 @@ inherit deploy PARALLEL_MAKE="" -EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" +# GCC 4.5.1 builds unusable binaries using -Os, remove it from OPTFLAGS +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS=''" UBOOT_MACHINE ?= "${MACHINE}_config" UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin" |