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:35:57 +0100 |
commit | 51f95dfe393fc907210db798c9bce732ce868353 (patch) | |
tree | 9cab766d79616b8d5facff32b88eeffc7e99a16b /meta/conf | |
parent | 83ac732923f8618f410c033e6f82243fb04f6295 (diff) | |
download | poky-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.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 ??= "" | |||
114 | TUNE_FEATURES ??= "${TUNE_FEATURES_tune-${DEFAULTTUNE}}" | 114 | TUNE_FEATURES ??= "${TUNE_FEATURES_tune-${DEFAULTTUNE}}" |
115 | LIBCEXTENSION ??= "" | 115 | LIBCEXTENSION ??= "" |
116 | ABIEXTENSION ??= "" | 116 | ABIEXTENSION ??= "" |
117 | USE_NLS ??= "yes" | 117 | USE_NLS ??= "${@bb.utils.contains('DISTRO_FEATURES', 'libc-locale-code', 'yes', 'no', d)}" |
118 | SDKUSE_NLS ??= "yes" | 118 | SDKUSE_NLS ??= "yes" |
119 | 119 | ||
120 | TARGET_ARCH = "${TUNE_ARCH}" | 120 | TARGET_ARCH = "${TUNE_ARCH}" |