diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-06-28 14:36:47 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-29 13:30:58 +0100 |
commit | daed800397d9b324093f8db404fd7d1ba9ad47ee (patch) | |
tree | 7f7ca3b1dde7a17230bc5cd17fd8fafa6ffa724e /meta | |
parent | c27d535b09fe87d74dea153e74cf90df4449e0fc (diff) | |
download | poky-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.conf | 1 |
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 ??= "" | |||
98 | TUNE_FEATURES ??= "${TUNE_FEATURES_tune-${DEFAULTTUNE}}" | 98 | TUNE_FEATURES ??= "${TUNE_FEATURES_tune-${DEFAULTTUNE}}" |
99 | LIBCEXTENSION ??= "" | 99 | LIBCEXTENSION ??= "" |
100 | ABIEXTENSION ??= "" | 100 | ABIEXTENSION ??= "" |
101 | USE_NLS ??= "yes" | ||
101 | 102 | ||
102 | TARGET_ARCH = "${TUNE_ARCH}" | 103 | TARGET_ARCH = "${TUNE_ARCH}" |
103 | TARGET_OS = "linux${LIBCEXTENSION}${ABIEXTENSION}" | 104 | TARGET_OS = "linux${LIBCEXTENSION}${ABIEXTENSION}" |