[OE-core] [PATCH 2/2] eglibc: migrate configurability from oe
Phil Blundell
pb at pbcl.net
Tue Jun 7 09:53:56 UTC 2011
On Tue, 2011-06-07 at 17:42 +0800, Kang Kai wrote:
> -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.
> + # 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?
p.
More information about the Openembedded-core
mailing list