[poky] [PATCH 3/3] u-boot: compile with -O2 on PowerPC

Ilya Yanok yanok at emcraft.com
Wed Feb 9 15:48:46 PST 2011


Hi Darren,

10.02.2011 2:34, Darren Hart wrote:
>> Then I think it's a bad idea to remove -Os everywhere: U-Boot really
>> wants to be built with -Os optimization so we might want to change
>> optimization level to -O2 only for targets where it's absolutely
>> required. Actually I was able to build and successfully run U-Boot on
>> beagleboard with -Os so it doesn't look like it's completely broken on
>> ARM.
>
> Interesting - is this using the current recipe in poky? It was building
> for the beagleboard that I hit the bug which caused me to clear -Os from
> the EXTRA_OEMAKE arguments.

I'm using slightly outdated Poky tree (commit 4cd1118) with some my 
additions and my own U-Boot 2011.03-rc1 recipe (nothing special, I've 
just changed SRC_URI and supported machine targets). I'll try to rebase 
to master and retest in a couple of days.

Regards, Ilya.



More information about the poky mailing list