Ok, going to rework patch but keep the optimization level to -O2<div><br></div><div>Thanks for the suggestion.<br><br><div class="gmail_quote">On Thu, Jan 20, 2011 at 12:55 PM, Darren Hart <span dir="ltr"><<a href="mailto:dvhart@linux.intel.com">dvhart@linux.intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 01/20/2011 10:53 AM, Darren Hart wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 01/17/2011 12:29 PM, Adrian Alonso wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* Disable -Os optspace option not supported by gcc use insted<br>
-O2<br>
* Bump PR<br>
<br>
</blockquote>
<br>
<br>
I ran into this in the recent <a href="http://u-boot_git.bb" target="_blank">u-boot_git.bb</a> recipe I added. Rather than<br>
create a patch to the Makefile, I found it simpler to adding OPTFLAGS to<br>
the EXTRA_OEMAKE variable in the recipe:<br>
<br>
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS=''"<br>
<br>
This negates the -Os in the Makefile.<br>
</blockquote>
<br></div>
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.<div><div></div><div class="h5"><br>
<br>
-- <br>
Darren Hart<br>
Intel Open Source Technology Center<br>
Yocto Project - Linux Kernel<br>
_______________________________________________<br>
poky mailing list<br>
<a href="mailto:poky@yoctoproject.org" target="_blank">poky@yoctoproject.org</a><br>
<a href="https://lists.yoctoproject.org/listinfo/poky" target="_blank">https://lists.yoctoproject.org/listinfo/poky</a><br>
</div></div></blockquote></div><br></div>