diff options
author | Ross Burton <ross@burtonini.com> | 2020-12-22 17:23:14 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-24 08:25:10 +0000 |
commit | 539cd4a5fbb9e4507d90bfb1165fcb06907b46d8 (patch) | |
tree | 683dff5e3294a47260dbb66cea82f8c25e307ef6 /meta/conf | |
parent | 3b258e4d9e38d4224029ad503c7821d9381264c0 (diff) | |
download | openembedded-core-contrib-539cd4a5fbb9e4507d90bfb1165fcb06907b46d8.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.
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.conf | 2 |
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}" 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}" |