[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210323032624.1039422-5-mpe@ellerman.id.au>
Date: Tue, 23 Mar 2021 14:26:24 +1100
From: Michael Ellerman <mpe@...erman.id.au>
To: rust-for-linux@...r.kernel.org
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: [PATCH 4/4] rust: Enable for ppc64le
All the pieces are in place now for us to enable building rust support
on ppc64le.
Only works with clang for now.
Signed-off-by: Michael Ellerman <mpe@...erman.id.au>
---
init/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init/Kconfig b/init/Kconfig
index d73ac9de186d..ddc2fda1a22c 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -58,7 +58,7 @@ config LLD_VERSION
default 0
config HAS_RUST
- depends on ARM64 || X86_64
+ depends on ARM64 || X86_64 || (PPC64 && CPU_LITTLE_ENDIAN && CC_IS_CLANG)
def_bool $(success,$(RUSTC) --version)
config RUSTC_VERSION
--
2.25.1
Powered by blists - more mailing lists