-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/03/2012 03:57 PM, nitin.a.kam...@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----- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core