From: Richard Purdie Date: Wed, 3 Aug 2022 22:13:34 +0000 (+0100) Subject: populate_sdk_base: Disable rust SDK for MIPS n32 X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~3430 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aad10f24eea5a6b54de17138ab5c0f4ed1355a8f;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index f260217b508..175c7dafb20 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}" SDK_TOOLCHAIN_LANGS ??= "" SDK_TOOLCHAIN_LANGS:remove:sdkmingw32 = "rust" +# libstd-rs doesn't build for mips n32 with compiler constraint errors +SDK_TOOLCHAIN_LANGS:remove:mipsarchn32 = "rust" TOOLCHAIN_HOST_TASK ?= " \ nativesdk-packagegroup-sdk-host \