mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 09:32:12 +02:00
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>
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user