]> code.ossystems Code Review - openembedded-core.git/commitdiff
u-boot: Don't make the -Os removal part of global settings.
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 2 Jul 2012 05:44:43 +0000 (01:44 -0400)
committerSaul Wold <sgw@linux.intel.com>
Tue, 3 Jul 2012 07:05:39 +0000 (00:05 -0700)
We don't want to force everyone to be stripping the -Os
flags from their u-boot builds.  Remove it, since it pertains
to an old toolchain issue that is no longer relevant, and it
breaks the powerpc mpc8315.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
meta/recipes-bsp/u-boot/u-boot.inc

index a13eddc829962cc22bb6792a5696ead95a9a607f..5de3583424a10c2a3a9e56983d79a01aac3f2258 100644 (file)
@@ -7,8 +7,7 @@ inherit deploy
 
 PARALLEL_MAKE=""
 
-# GCC 4.5.1 builds unusable binaries using -Os, remove it from OPTFLAGS
-EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS='-O2'"
+EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
 
 python () {
        if not d.getVar("UBOOT_MACHINE", True):