From 8144069cd295fae67a7007a984e285c1a2a320e5 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Mon, 24 Aug 2015 15:18:38 -0700 Subject: 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 Signed-off-by: Richard Purdie --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/conf') 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}" -- cgit 1.2.3-korg