summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2018-06-10 06:38:14 +0200
committerWaldemar Brodkorb <wbrodkorb@conet.de>2018-06-10 06:38:26 +0200
commit0d74eb7085e875de4c0c8c263dccb5541458a7f0 (patch)
tree859f387155012b9d0527abe3b437a8955369ee7f /target
parent35a54c8f745c3b5055a1a9d2ae6848ea64c36b17 (diff)
riscv64: uclibc only static w/o TLS/NPTL
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.cpu10
1 files changed, 6 insertions, 4 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index e1a4513dc..573e8e45d 100644
--- a/target/config/Config.in.cpu
+++ b/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