summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2020-12-22 17:23:14 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-24 08:25:14 +0000
commitc74ec1dd7393b9dc7bec1a3ca2ed0a56fb18d8fb (patch)
treed985fb81f18b1c21ee293ca38daafb9efe1ce8fd /meta/conf
parent3e4fd525cba25d3cddc40a7b85426da586ba16b7 (diff)
downloadpoky-c74ec1dd7393b9dc7bec1a3ca2ed0a56fb18d8fb.tar.gz
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>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index da6db9f595..92b6866d4d 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -136,7 +136,7 @@ TARGET_CC_ARCH = "${TUNE_CCARGS}"
136TARGET_LD_ARCH = "${TUNE_LDARGS}" 136TARGET_LD_ARCH = "${TUNE_LDARGS}"
137TARGET_AS_ARCH = "${TUNE_ASARGS}" 137TARGET_AS_ARCH = "${TUNE_ASARGS}"
138 138
139SDKMACHINE ??= "x86_64" 139SDKMACHINE ??= "${BUILD_ARCH}"
140SDK_OS = "${BUILD_OS}" 140SDK_OS = "${BUILD_OS}"
141SDK_VENDOR = "-oesdk" 141SDK_VENDOR = "-oesdk"
142SDK_SYS = "${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}" 142SDK_SYS = "${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}"