From: Christopher Larson Date: Mon, 24 Aug 2015 22:18:38 +0000 (-0700) Subject: bitbake.conf: set USE_NLS based on DISTRO_FEATURES X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~29241 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8144069cd295fae67a7007a984e285c1a2a320e5;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index aa785a13f39..01f4cd07469 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}"