1
0
Selaa lähdekoodia

riscv64: uclibc only static w/o TLS/NPTL

Waldemar Brodkorb 6 vuotta sitten
vanhempi
commit
0d74eb7085
1 muutettua tiedostoa jossa 6 lisäystä ja 4 poistoa
  1. 6 4
      target/config/Config.in.cpu

+ 6 - 4
target/config/Config.in.cpu

@@ -1110,16 +1110,18 @@ config ADK_TARGET_CPU_RISCV32_RV32IMAC
 
 config ADK_TARGET_CPU_RISCV64_RV64IMAFDC
 	bool "rv64imafdc"
-	select ADK_TARGET_SUPPORTS_THREADS
-	select ADK_TARGET_SUPPORTS_NPTL
+	select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
+	select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
+	select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
 	select ADK_TARGET_WITH_MMU
 	select ADK_TARGET_ABI_LP64D
 	depends on ADK_TARGET_ARCH_RISCV64
 
 config ADK_TARGET_CPU_RISCV64_RV64IMAC
 	bool "rv64imac"
-	select ADK_TARGET_SUPPORTS_THREADS
-	select ADK_TARGET_SUPPORTS_NPTL
+	select ADK_TARGET_SUPPORTS_THREADS if ADK_TARGET_LIB_GLIBC
+	select ADK_TARGET_SUPPORTS_NPTL if ADK_TARGET_LIB_GLIBC
+	select ADK_TARGET_USE_STATIC_LIBS_ONLY if ADK_TARGET_LIB_UCLIBC_NG
 	select ADK_TARGET_WITH_MMU
 	select ADK_TARGET_ABI_LP64
 	depends on ADK_TARGET_ARCH_RISCV64