[OE-core] [PATCH 2/2] eglibc: migrate configurability from oe
Kang Kai
Kai.Kang at windriver.com
Wed Jun 8 01:59:43 UTC 2011
On 2011年06月07日 17:53, Phil Blundell wrote:
> On Tue, 2011-06-07 at 17:42 +0800, Kang Kai wrote:
Hi Phil,
Thanks for your comment.
>> -DISTRO_FEATURES ?= "alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi nfs zeroconf pci"
>> +DISTRO_FEATURES ?= "alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi nfs zeroconf pci \
>> + libc-ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \
> I don't think it is a good idea to invent a new "libc-ipv6" feature; you
> can just use the existing "ipv6" one. This is probably true for some of
> your others too.
eglibc needs to support ipv6 by default, but if other application such
as iptables doesn't want to support ipv6, remove "ipv6" will also
disable eglibc ipv6 support。
If it is ok to disable or enable ipv6 at same time, I will update the
patch with "ipv6".
>> + # try to fix disable charsets/locales/locale-code compile fail
>> + if 'libc-charsets' in distro_features and 'libc-locales' in distro_features and 'libc-locale-code' in distro_features:
>> + bb.data.setVar('PACKAGE_NO_GCONV', '0', d)
>> + else:
>> + bb.data.setVar('PACKAGE_NO_GCONV', '1', d)
> Does that actually work?
Yes, it works. I can build eglic after uncomment the line in
local.extended.conf to disable all configurable options. But remove the
codes above, it will fail.
> p.
>
>
Regards,
Kai
> _______________________________________________
> 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