ソースを参照

riscv64: threads are not supported for noMMU

Waldemar Brodkorb 1 年間 前
コミット
0163b5568f
1 ファイル変更9 行追加9 行削除
  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