mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
bitbake.conf: default SDKMACHINE to the build host architecture
Currently there's a limitation that Extensible SDKs can only be build on a
machine with the same architecture as the SDK.
However, SDKMACHINE defaults to x86-64, which means eSDKs cannot be built
out of the box on arm64 systems.
By defaulting SDKMACHINE to ${BUILD_ARCH} we generate SDKs for the build
host, so they'll always work out of the box.
(From OE-Core rev: 539cd4a5fbb9e4507d90bfb1165fcb06907b46d8)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3e4fd525cb
commit
c74ec1dd73
@@ -136,7 +136,7 @@ TARGET_CC_ARCH = "${TUNE_CCARGS}"
|
||||
TARGET_LD_ARCH = "${TUNE_LDARGS}"
|
||||
TARGET_AS_ARCH = "${TUNE_ASARGS}"
|
||||
|
||||
SDKMACHINE ??= "x86_64"
|
||||
SDKMACHINE ??= "${BUILD_ARCH}"
|
||||
SDK_OS = "${BUILD_OS}"
|
||||
SDK_VENDOR = "-oesdk"
|
||||
SDK_SYS = "${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}"
|
||||
|
||||
Reference in New Issue
Block a user