[OE-core] [PATCH 2/2] eglibc packaging: locale packaging configuration
Khem Raj
raj.khem at gmail.com
Sat Apr 7 06:23:34 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 04/03/2012 03:57 PM, nitin.a.kamble at intel.com wrote:
> + + distro_features = (d.getVar('DISTRO_FEATURES', True) or
> '').split() + + # 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:
can this be implemented using set instead of this long list of if and
and ?
declare a set of libc-charsets libc-locales libc-locale-code
and then check if its disjoint with set constructed from distro_features
> + d.setVar('PACKAGE_NO_GCONV', '0') + else: +
> d.setVar('PACKAGE_NO_GCONV', '1') }
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk9/3WYACgkQuwUzVZGdMxTCCQCfTPWYILOG3TL4zfrKygAl3CTl
DCAAn0B/CtTNVog6FpmRK0MoZpKpBB2b
=vil2
-----END PGP SIGNATURE-----
More information about the Openembedded-core
mailing list