[poky] [PATCH 05/25] u-boot: disable -Os option not supported by gcc
Darren Hart
dvhart at linux.intel.com
Thu Jan 20 10:55:13 PST 2011
On 01/20/2011 10:53 AM, Darren Hart wrote:
> On 01/17/2011 12:29 PM, Adrian Alonso wrote:
>> * Disable -Os optspace option not supported by gcc use insted
>> -O2
>> * Bump PR
>>
>
>
> I ran into this in the recent u-boot_git.bb recipe I added. Rather than
> create a patch to the Makefile, I found it simpler to adding OPTFLAGS to
> the EXTRA_OEMAKE variable in the recipe:
>
> EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS=''"
>
> This negates the -Os in the Makefile.
In fact, once contrib/dvhart/beagle is merged, you'll get this
automatically as you use u-boot.inc. So you should be able to drop this
patch.
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
More information about the poky
mailing list