mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-06-21 08:52:27 +02:00
tcmode: add EXTERNAL_TOOLCHAIN_FEATURES
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
@@ -3,6 +3,16 @@ EXTERNAL_TOOLCHAIN ?= "UNDEFINED"
|
||||
EXTERNAL_TARGET_SYS ??= "${TARGET_ARCH}-${TARGET_OS}"
|
||||
EXTERNAL_TOOLCHAIN_BIN ??= "${EXTERNAL_TOOLCHAIN}/bin"
|
||||
|
||||
# External toolchain features.
|
||||
#
|
||||
# locale-utf8-is-default: assume en_US is utf8, not en_US.UTF-8, as is the
|
||||
# case for OE.
|
||||
EXTERNAL_TOOLCHAIN_FEATURES ?= ""
|
||||
|
||||
python () {
|
||||
oe.utils.features_backfill("EXTERNAL_TOOLCHAIN_FEATURES", d)
|
||||
}
|
||||
|
||||
# Prefer our recipes which extract files from the external toolchain
|
||||
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc ?= "gcc-external-cross-${TARGET_ARCH}"
|
||||
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate ?= "gcc-external-cross-${TARGET_ARCH}"
|
||||
|
||||
Reference in New Issue
Block a user