[oe-commits] Khem Raj : bitbake.conf: Add weak definition for USE_NLS

git at git.openembedded.org git at git.openembedded.org
Fri Jun 29 12:24:38 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 41db1bf69314e542a9d7ac1fb1b4bc65db75b642
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=41db1bf69314e542a9d7ac1fb1b4bc65db75b642

Author: Khem Raj <raj.khem at gmail.com>
Date:   Thu Jun 28 14:36:47 2012 -0700

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 <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/conf/bitbake.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 9b26580..9377ee6 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}"





More information about the Openembedded-commits mailing list