summaryrefslogtreecommitdiff
path: root/target/config/Config.in.libc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-09 20:03:57 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-09 20:03:57 +0200
commit69ccbb2c9af2ebb0e591da1e55737783c560f9f1 (patch)
treed81f441258eb97985d0806af8a6cec5040bb9437 /target/config/Config.in.libc
parent196b86da481d0877f81023bbaf172c9c92fadd7b (diff)
rework thread handling
In the next uClibc-ng release Linuxthreads support will be again allowed for architectures supporting NPTL. To keep Linuxthreads supported and shiny we need architectures and emulators supported where native debugging is simple. Last time stucked with microblaze as only system where I could run some gdb somehow :(
Diffstat (limited to 'target/config/Config.in.libc')
-rw-r--r--target/config/Config.in.libc20
1 files changed, 13 insertions, 7 deletions
diff --git a/target/config/Config.in.libc b/target/config/Config.in.libc
index d36293bdd..3b4b12f26 100644
--- a/target/config/Config.in.libc
+++ b/target/config/Config.in.libc
@@ -194,23 +194,29 @@ endchoice
choice
prompt "Threading"
-depends on ADK_TARGET_LIB_UCLIBC_NG && !ADK_TARGET_WITHOUT_THREADS
+depends on ADK_TARGET_SUPPORTS_THREADS
-config ADK_TARGET_LIB_WITH_THREADS
- bool "enable threads"
+config ADK_TARGET_WITH_NPTL
+ bool "enable NPTL"
+ depends on ADK_TARGET_SUPPORTS_NPTL
+
+config ADK_TARGET_WITH_LT
+ bool "enable Linuxthreads"
+ depends on ADK_TARGET_SUPPORTS_LT && ADK_TARGET_LIB_UCLIBC_NG
-config ADK_TARGET_LIB_WITHOUT_THREADS
+config ADK_TARGET_WITHOUT_THREADS
bool "disable threads"
+ depends on ADK_TARGET_LIB_UCLIBC_NG
endchoice
-config ADK_TARGET_WITH_LT
+config ADK_TARGET_SUPPORTS_THREADS
bool
-config ADK_TARGET_WITH_NPTL
+config ADK_TARGET_SUPPORTS_NPTL
bool
-config ADK_TARGET_WITHOUT_THREADS
+config ADK_TARGET_SUPPORTS_LT
bool
config ADK_TARGET_LIBC