diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-03 23:13:34 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-08 15:44:20 +0100 |
commit | f2bd326370e34e04f4b30e1f2bd4c83d92c00240 (patch) | |
tree | 96bd0fedab4c5fdcd2578f1b60147290144a916c | |
parent | 7f902fb29f33e923720be2871cae79ab46eeda72 (diff) | |
download | poky-f2bd326370e34e04f4b30e1f2bd4c83d92c00240.tar.gz |
populate_sdk_base: Disable rust SDK for MIPS n32
The n32 MIPS rust SDK doesn't quite build (libstd-rs fails with an llvm
register issue). Disable it for now, someone with interest in having it working
can fix if/as/when.
(From OE-Core rev: aad10f24eea5a6b54de17138ab5c0f4ed1355a8f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index f260217b50..175c7dafb2 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass | |||
@@ -45,6 +45,8 @@ SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${REAL_MULTIMACH_TARGET_SYS}" | |||
45 | 45 | ||
46 | SDK_TOOLCHAIN_LANGS ??= "" | 46 | SDK_TOOLCHAIN_LANGS ??= "" |
47 | SDK_TOOLCHAIN_LANGS:remove:sdkmingw32 = "rust" | 47 | SDK_TOOLCHAIN_LANGS:remove:sdkmingw32 = "rust" |
48 | # libstd-rs doesn't build for mips n32 with compiler constraint errors | ||
49 | SDK_TOOLCHAIN_LANGS:remove:mipsarchn32 = "rust" | ||
48 | 50 | ||
49 | TOOLCHAIN_HOST_TASK ?= " \ | 51 | TOOLCHAIN_HOST_TASK ?= " \ |
50 | nativesdk-packagegroup-sdk-host \ | 52 | nativesdk-packagegroup-sdk-host \ |