mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

The gettext handling of USE_NLS has become a bit tricky to understand, or alter from the SDK context. This patch introduces a SDKUSE_NLS which can be set to configure a given SDK/ADT to use NLS or not. This is independent of the target system NLS usage. The code in gettext.bbclass is therefore simplified and the classes themselves now set USE_NLS to appropriate values. No NLS is used for native, cross and crosssdk since it is never used there and would just increase build time. (From OE-Core rev: fe634d47449899f7424adb77ff5bc7ddf8a07a47) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
inherit cross
|
|
|
|
CLASSOVERRIDE = "class-crosssdk"
|
|
PACKAGE_ARCH = "${SDK_ARCH}"
|
|
python () {
|
|
# set TUNE_PKGARCH to SDK_ARCH
|
|
d.setVar('TUNE_PKGARCH', d.getVar('SDK_ARCH', True))
|
|
}
|
|
|
|
STAGING_DIR_TARGET = "${STAGING_DIR}/${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}"
|
|
STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
|
|
|
|
TARGET_ARCH = "${SDK_ARCH}"
|
|
TARGET_VENDOR = "${SDK_VENDOR}"
|
|
TARGET_OS = "${SDK_OS}"
|
|
TARGET_PREFIX = "${SDK_PREFIX}"
|
|
TARGET_CC_ARCH = "${SDK_CC_ARCH}"
|
|
TARGET_LD_ARCH = "${SDK_LD_ARCH}"
|
|
TARGET_AS_ARCH = "${SDK_AS_ARCH}"
|
|
TARGET_FPU = ""
|
|
|
|
target_libdir = "${SDKPATHNATIVE}${libdir_nativesdk}"
|
|
target_includedir = "${SDKPATHNATIVE}${includedir_nativesdk}"
|
|
target_base_libdir = "${SDKPATHNATIVE}${base_libdir_nativesdk}"
|
|
target_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}"
|
|
target_exec_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}"
|
|
baselib = "lib"
|
|
|
|
do_populate_sysroot[stamp-extra-info] = ""
|
|
|
|
# Need to force this to ensure consitency accross architectures
|
|
EXTRA_OECONF_FPU = ""
|
|
|
|
USE_NLS = "no"
|