diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-07-02 01:44:43 -0400 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2012-07-03 00:05:39 -0700 |
commit | 5e3f777f9fcc986ae66203651830b5765bca49fd (patch) | |
tree | 3c9b17b031a768c5194e2cd72b4208860d08049f /meta/recipes-bsp | |
parent | 42545ffbb37f2646a2a8c20999c21d3300e24f59 (diff) | |
download | openembedded-core-5e3f777f9fcc986ae66203651830b5765bca49fd.tar.gz openembedded-core-5e3f777f9fcc986ae66203651830b5765bca49fd.tar.bz2 openembedded-core-5e3f777f9fcc986ae66203651830b5765bca49fd.zip |
u-boot: Don't make the -Os removal part of global settings.
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>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc index a13eddc829..5de3583424 100644 --- a/meta/recipes-bsp/u-boot/u-boot.inc +++ b/meta/recipes-bsp/u-boot/u-boot.inc @@ -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): |