[OE-core] how to pass or set specific gcc flags?

Kumar Gala galak at kernel.crashing.org
Mon Aug 8 16:17:34 UTC 2011


That's passing flags to gcc, I mean passing flags to how gcc is configured

- k

On Aug 8, 2011, at 10:53 AM, Kamble, Nitin A wrote:

> Kumar,
> Look at the meta/conf/machine/include/ia32/arch-ia32.inc where we have done special flags passing to gcc & other tools.
> 
> Nitin
> 
> 
>> -----Original Message-----
>> From: openembedded-core-bounces at lists.openembedded.org
>> [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of
>> Kumar Gala
>> Sent: Sunday, August 07, 2011 10:09 AM
>> To: Patches and discussions about the oe-core layer
>> Subject: [OE-core] how to pass or set specific gcc flags?
>> 
>> We'd like to pass:
>> 
>> --enable-targets=all
>> 
>> on ppc when we target a 64-bit platform but happen to build a 32-bit
>> toolchain & rootfs, its useful to still have 64-bit support in the
>> compiler to build a 64-bit kernel if desired in this scenario.  Also,
>> this seems useful for the multilib situation.
>> 
>> Wondering what the best way of doing this.  Adding something into the
>> tune-ppcFOOBAR file but not sure how to do that so it gets picked up by
>> the right toolchain pass.  And what do we even override?  I suggested
>> adding a GCC_EXTRA_OECONF.
>> 
>> - k
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core





More information about the Openembedded-core mailing list