From: Sven Van Asbroeck Date: Tue, 13 Apr 2021 14:16:59 +0000 (-0400) Subject: rust: enable Rust for 32-bit arm X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=cca10d723bc4dcc9bfcef2be9aad058975465a3e;p=users%2Fjedix%2Flinux-maple.git rust: enable Rust for 32-bit arm Everything is now in place to enable Rust support on 32-bit arm. Enable only on architectures compatible with the armv6 instruction set. Signed-off-by: Sven Van Asbroeck [normalized title] Signed-off-by: Miguel Ojeda --- diff --git a/init/Kconfig b/init/Kconfig index 11475840c29c..dbb6424393df 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -58,7 +58,7 @@ config LLD_VERSION default 0 config HAS_RUST - depends on ARM64 || (PPC64 && CPU_LITTLE_ENDIAN) || X86_64 + depends on ARM64 || CPU_32v6 || CPU_32v6K || (PPC64 && CPU_LITTLE_ENDIAN) || X86_64 def_bool $(success,$(RUSTC) --version) config RUSTC_VERSION