[OE-core] [PATCH] gcc: Add ability for tune files to pass in configure options to gcc

Phil Blundell philb at gnu.org
Mon Aug 1 14:30:44 UTC 2011


On Mon, 2011-08-01 at 09:21 -0500, Kumar Gala wrote:
> Added a ${GCC_EXTRA_OECONF} to the the building up of gcc's
> ${EXTRA_OECONF}.  This is similar to what we have in the glibc recipe
> files.
> 
> This allows for a tune file to add something like:
> 
> GCC_EXTRA_OECONF += "--with-cpu=e5500"
> 
> If needed.
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>

Why is that desirable?  From the looks of that patch it will affect
gcc-cross as well as target gcc and, if you're going to do this, I think
you need to find some way to disambiguate the resulting compilers.
Otherwise there is going to be no way to predict what options ${CC} was
built with.  

Even for the on-target gcc case, if you are going to start putting
MACHINE-specific variables into the configure commandline then you need
to make sure that the output packages have an appropriate Architecture.
I don't think that's going to be the case at the moment.

p.






More information about the Openembedded-core mailing list