From: Khem Raj Date: Thu, 28 Jun 2012 21:36:47 +0000 (-0700) Subject: bitbake.conf: Add weak definition for USE_NLS X-Git-Tag: 2015-4~10194 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=41db1bf69314e542a9d7ac1fb1b4bc65db75b642;p=openembedded-core.git bitbake.conf: Add weak definition for USE_NLS USE_NLS is generally defined for uclibc based system builds and generally its defined to 'no' there. However this variable does not exist at all for eglibc/glibc distributions. This patch adds a weak definition to 'yes' on eglibc based system builds. This will ease out some of the cryptic contructs we have to define certain options based on USE_NLS and also checking got uclibc at the same time to avoid pythong exceptions when its not defined. Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 9b26580f1b..9377ee6ba1 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -98,6 +98,7 @@ TUNE_ASARGS ??= "" TUNE_FEATURES ??= "${TUNE_FEATURES_tune-${DEFAULTTUNE}}" LIBCEXTENSION ??= "" ABIEXTENSION ??= "" +USE_NLS ??= "yes" TARGET_ARCH = "${TUNE_ARCH}" TARGET_OS = "linux${LIBCEXTENSION}${ABIEXTENSION}"