diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-07-02 01:44:43 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-03 14:54:59 +0100 |
commit | feb06a0a2dea6f5a1538240aa9865b80c020bb52 (patch) | |
tree | 561952d3fb03ebfded2e92ac9b13d91922d8d464 /meta/recipes-bsp/u-boot/u-boot.inc | |
parent | 01e891ad718803e851e46a06539355a18fbade98 (diff) | |
download | poky-feb06a0a2dea6f5a1538240aa9865b80c020bb52.tar.gz |
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.
(From OE-Core rev: 5e3f777f9fcc986ae66203651830b5765bca49fd)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/u-boot/u-boot.inc')
-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 | |||
7 | 7 | ||
8 | PARALLEL_MAKE="" | 8 | PARALLEL_MAKE="" |
9 | 9 | ||
10 | # GCC 4.5.1 builds unusable binaries using -Os, remove it from OPTFLAGS | 10 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" |
11 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS='-O2'" | ||
12 | 11 | ||
13 | python () { | 12 | python () { |
14 | if not d.getVar("UBOOT_MACHINE", True): | 13 | if not d.getVar("UBOOT_MACHINE", True): |