summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2015-08-24 15:18:38 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-30 12:35:57 +0100
commit51f95dfe393fc907210db798c9bce732ce868353 (patch)
tree9cab766d79616b8d5facff32b88eeffc7e99a16b /meta/conf
parent83ac732923f8618f410c033e6f82243fb04f6295 (diff)
downloadpoky-51f95dfe393fc907210db798c9bce732ce868353.tar.gz
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) (From OE-Core rev: 8144069cd295fae67a7007a984e285c1a2a320e5) 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.conf2
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 ??= ""
114TUNE_FEATURES ??= "${TUNE_FEATURES_tune-${DEFAULTTUNE}}" 114TUNE_FEATURES ??= "${TUNE_FEATURES_tune-${DEFAULTTUNE}}"
115LIBCEXTENSION ??= "" 115LIBCEXTENSION ??= ""
116ABIEXTENSION ??= "" 116ABIEXTENSION ??= ""
117USE_NLS ??= "yes" 117USE_NLS ??= "${@bb.utils.contains('DISTRO_FEATURES', 'libc-locale-code', 'yes', 'no', d)}"
118SDKUSE_NLS ??= "yes" 118SDKUSE_NLS ??= "yes"
119 119
120TARGET_ARCH = "${TUNE_ARCH}" 120TARGET_ARCH = "${TUNE_ARCH}"