[poky] [PATCH 05/25] u-boot: disable -Os option not supported by gcc

Adrian Alonso aalonso at secretlab.ca
Thu Jan 20 13:41:22 PST 2011


Ok, going to rework patch but keep the optimization level to -O2

Thanks for the suggestion.

On Thu, Jan 20, 2011 at 12:55 PM, Darren Hart <dvhart at linux.intel.com>wrote:

> 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
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20110120/bcb7a892/attachment.html>


More information about the poky mailing list