[RFC 03/15] riscv: disable vector if big-endian, gcc unsupported option

Ben Dooks ben.dooks at codethink.co.uk
Fri Dec 20 07:57:49 PST 2024


You can't build with vector enabled at the moment so remove
this until gcc is changed.
---
 arch/riscv/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index e352e022ed4a..d632bfad190c 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -602,6 +602,7 @@ config RISCV_ISA_V
 	bool "VECTOR extension support"
 	depends on TOOLCHAIN_HAS_V
 	depends on FPU
+	depends on CPU_LITTLE_ENDIAN
 	select DYNAMIC_SIGFRAME
 	default y
 	help
-- 
2.37.2.352.g3c44437643




More information about the linux-riscv mailing list