diff options
author | Christopher Larson <chris_larson@mentor.com> | 2015-08-24 15:18:38 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-30 12:34:17 +0100 |
commit | 8144069cd295fae67a7007a984e285c1a2a320e5 (patch) | |
tree | af558a63baad7a75624bd5b411fda7d302425bb2 /meta/conf | |
parent | 43a2baf26dad4b7b2f0e4c6af3ea4a611cee7ad5 (diff) | |
download | openembedded-core-8144069cd295fae67a7007a984e285c1a2a320e5.tar.gz openembedded-core-8144069cd295fae67a7007a984e285c1a2a320e5.tar.bz2 openembedded-core-8144069cd295fae67a7007a984e285c1a2a320e5.zip |
bitbake.conf: set USE_NLS based on DISTRO_FEATURES
If our libc doesn't support locales, we don't need gettext nls bits enabled.
(From OE-Core rev: f1bc8afa6ee584a81fb65bcf77e5ae1a8889f47c)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index aa785a13f3..01f4cd0746 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -114,7 +114,7 @@ TUNE_ASARGS ??= "" TUNE_FEATURES ??= "${TUNE_FEATURES_tune-${DEFAULTTUNE}}" LIBCEXTENSION ??= "" ABIEXTENSION ??= "" -USE_NLS ??= "yes" +USE_NLS ??= "${@bb.utils.contains('DISTRO_FEATURES', 'libc-locale-code', 'yes', 'no', d)}" SDKUSE_NLS ??= "yes" TARGET_ARCH = "${TUNE_ARCH}" |