]> code.ossystems Code Review - openembedded-core.git/commit
uboot: build with -O2 on all architectures
authorDarren Hart <dvhart@linux.intel.com>
Wed, 9 Feb 2011 21:26:46 +0000 (13:26 -0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 9 Feb 2011 22:44:52 +0000 (22:44 +0000)
commit6b76ceed1423480e18844e20fc81f05298bfdd6d
tree86a090c1cf091e3436a4264366785aef04746119
parentba163a43789e2e776737a7da11217796b6c0e362
uboot: build with -O2 on all architectures

The -Os option was disabled due to a bug in gcc building bad binaries for ARM
in an earlier commit:

f2dc7fadd8c6b180c3f985873261216d53f47f0d

This caused problems for powerpc which was resolved by replacing -Os with
-O2 for that architecture:

d0eb6794d964aa5ac938533a222c39bef09fd945

Using -O2 also works for ARM, so there is no need to condition using -O2 on
powerpc. Remove the condition and use -O2 on all architectures.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Ilya Yanok <yanok@emcraft.com>
CC: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/uboot/u-boot.inc