[oe] [PATCH 3/6] machine/geode[gl]x: use more optimization while compiling
Koen Kooi
k.kooi at student.utwente.nl
Thu Apr 23 14:37:54 UTC 2009
On 23-04-09 14:56, Otavio Salvador wrote:
> Koen Kooi<k.kooi at student.utwente.nl> writes:
>
>> On 23-04-09 03:17, Otavio Salvador wrote:
>>
>>> -GLIBC_EXTRA_OECONF = "--with-tls"
>>> +GLIBC_EXTRA_OECONF = "--with-tls --with-cpu=geode"
>>> +SELECTED_OPTIMIZATION_glibc := "${@'${SELECTED_OPTIMIZATION}'.replace('-fomit-frame-pointer', '')}"
>>
>> shouldn't that be _pn-glibc?
>
> You mean the SELECT_OPTIMIZATION?
yes ${PN} is only in local overrides (scope: current recipe), pn-${PN}
is in global overrides.
>> And shouldn't you make glibc geode specific after that?
>
> Sorry, didn't get what you mean.
You're changing the way glibc is built for a specific machine, so the
resulting glibc package should technically machine specific. But it
seems it's compatible with other builds, so there isn't a big impact.
This does mean that you'll loose the optimization if you build another
i586 arch first.
regards,
Koen
More information about the Openembedded-devel
mailing list