[OE-core] [PATCH 3/3] Add basic PowerPC core tune config
Richard Purdie
richard.purdie at linuxfoundation.org
Tue Jul 26 22:52:56 UTC 2011
On Tue, 2011-07-26 at 17:02 -0500, Kumar Gala wrote:
> On Jul 26, 2011, at 11:18 AM, Richard Purdie wrote:
>
> >>> You're already found the way to pass configuration to *libc using values
> >>> in TARGET_FPU to pickup the right configuration.
> >>>
> >>> Is there a use case we're missing?
> >>
> >> Yes, for [e]glibc we have optimized libc functions for a given /
> >> specific PPC processor. So we need someway to tell configure this.
> >
> > I'd do this by looking for flags in TUNE_FEATURES as Mark has also
> > mentioned.
> >
> > Cheers,
> >
> > Richard
>
> Are we thinking something like the following in e[glibc] recipes:
>
> EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppce500mc", "-with-cpu=e500mc", "", d)}"
Could we glean this information from the TUNE_CCARGS variable and do
this automatically?
Cheers,
Richard
More information about the Openembedded-core
mailing list