]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: Add weak definition for USE_NLS
authorKhem Raj <raj.khem@gmail.com>
Thu, 28 Jun 2012 21:36:47 +0000 (14:36 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Jun 2012 12:08:48 +0000 (13:08 +0100)
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 <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf

index 9b26580f1bdf3dcea3368b5f0f0ea6f288ab452f..9377ee6ba1bca8c9ef3c99428f27d25726cd3e38 100644 (file)
@@ -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}"