summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-06-28 14:36:47 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-29 13:30:58 +0100
commitdaed800397d9b324093f8db404fd7d1ba9ad47ee (patch)
tree7f7ca3b1dde7a17230bc5cd17fd8fafa6ffa724e /meta
parentc27d535b09fe87d74dea153e74cf90df4449e0fc (diff)
downloadpoky-daed800397d9b324093f8db404fd7d1ba9ad47ee.tar.gz
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. (From OE-Core rev: 41db1bf69314e542a9d7ac1fb1b4bc65db75b642) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/bitbake.conf1
1 files changed, 1 insertions, 0 deletions
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 ??= ""
98TUNE_FEATURES ??= "${TUNE_FEATURES_tune-${DEFAULTTUNE}}" 98TUNE_FEATURES ??= "${TUNE_FEATURES_tune-${DEFAULTTUNE}}"
99LIBCEXTENSION ??= "" 99LIBCEXTENSION ??= ""
100ABIEXTENSION ??= "" 100ABIEXTENSION ??= ""
101USE_NLS ??= "yes"
101 102
102TARGET_ARCH = "${TUNE_ARCH}" 103TARGET_ARCH = "${TUNE_ARCH}"
103TARGET_OS = "linux${LIBCEXTENSION}${ABIEXTENSION}" 104TARGET_OS = "linux${LIBCEXTENSION}${ABIEXTENSION}"