mirror of
https://git.yoctoproject.org/poky
synced 2026-04-07 05:02:22 +02:00
meta-environment: Deal with machines which change TARGET_OS
Some machines change TARGET_OS, cross-canadian resets this which is not what we want in this specific case. This fixes spe toolchains for example. (From OE-Core rev: 0038634ee6e2b6035c023a2702547f20f67c103a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -6,7 +6,9 @@ PR = "r8"
|
||||
|
||||
EXCLUDE_FROM_WORLD = "1"
|
||||
|
||||
REAL_MULTIMACH_TARGET_SYS = "${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}"
|
||||
ORIGOS := "${TARGET_OS}"
|
||||
|
||||
REAL_MULTIMACH_TARGET_SYS = "${TUNE_PKGARCH}${TARGET_VENDOR}-${ORIGOS}"
|
||||
|
||||
inherit toolchain-scripts
|
||||
TOOLCHAIN_NEED_CONFIGSITE_CACHE += "zlib"
|
||||
@@ -29,6 +31,7 @@ python do_generate_content() {
|
||||
|
||||
# make sure we only use the SDKTARGETSYSROOT value from 'd'
|
||||
localdata.setVar('SDKTARGETSYSROOT', d.getVar('SDKTARGETSYSROOT', True))
|
||||
localdata.setVar('TARGET_OS', d.getVar('ORIGOS', True))
|
||||
localdata.setVar('libdir', d.getVar('target_libdir', False))
|
||||
|
||||
# Process DEFAULTTUNE
|
||||
|
||||
Reference in New Issue
Block a user