Procházet zdrojové kódy

riscv64: threads are not supported for noMMU

Waldemar Brodkorb před 1 rokem
rodič
revize
0163b5568f
1 změnil soubory, kde provedl 9 přidání a 9 odebrání
  1. 9 9
      target/config/Config.in.cpu

+ 9 - 9
target/config/Config.in.cpu

@@ -1168,25 +1168,25 @@ config ADK_TARGET_CPU_RISCV32_RV32IMADC
 
 config ADK_TARGET_CPU_RISCV64_RV64IMAC
 	bool "rv64imac"
-	select ADK_TARGET_SUPPORTS_THREADS
-	select ADK_TARGET_SUPPORTS_NPTL
-	select ADK_TARGET_SUPPORTS_LT
+	select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_WITH_MMU
+	select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_WITH_MMU
+	select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_WITH_MMU
 	select ADK_TARGET_ABI_LP64
 	depends on ADK_TARGET_ARCH_RISCV64
 
 config ADK_TARGET_CPU_RISCV64_RV64IMAFC
 	bool "rv64imafc"
-	select ADK_TARGET_SUPPORTS_THREADS
-	select ADK_TARGET_SUPPORTS_NPTL
-	select ADK_TARGET_SUPPORTS_LT
+	select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_WITH_MMU
+	select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_WITH_MMU
+	select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_WITH_MMU
 	select ADK_TARGET_ABI_LP64F
 	depends on ADK_TARGET_ARCH_RISCV64
 
 config ADK_TARGET_CPU_RISCV64_RV64IMADC
 	bool "rv64imadc"
-	select ADK_TARGET_SUPPORTS_THREADS
-	select ADK_TARGET_SUPPORTS_NPTL
-	select ADK_TARGET_SUPPORTS_LT
+	select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_WITH_MMU
+	select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_WITH_MMU
+	select ADK_TARGET_SUPPORTS_LT if ADK_TARGET_WITH_MMU
 	select ADK_TARGET_ABI_LP64D
 	depends on ADK_TARGET_ARCH_RISCV64