]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
rust: enable Rust for 32-bit arm
authorSven Van Asbroeck <thesven73@gmail.com>
Tue, 13 Apr 2021 14:16:59 +0000 (10:16 -0400)
committerMiguel Ojeda <ojeda@kernel.org>
Tue, 27 Apr 2021 03:06:13 +0000 (05:06 +0200)
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 <thesven73@gmail.com>
[normalized title]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
init/Kconfig

index 11475840c29c0e7fa8fd26d5a3bf1fe246cc5af6..dbb6424393df6dbdb4bed5791cf200369d558fb9 100644 (file)
@@ -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