summaryrefslogtreecommitdiff
path: root/extra/Configs/Config.in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-05-18 18:41:24 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-05-18 18:41:24 +0200
commit6a8ccc95528f5e86a8770ed15ce89609b5b3dee9 (patch)
treebbd4df35b4d4a6a8b00d7a5e61fb2668b850ad62 /extra/Configs/Config.in
parent398a27a5b323956344b4f831d892fed3bd9813c7 (diff)
remove linuxthreads.new, rename linuxthreads.old
Linuxthreads.new isn't really useful with the existence of NPTL/TLS for well supported architectures. There is no reason to use LT.new for ARM/MIPS or other architectures supporting NPTL/TLS. It is not available for noMMU architectures like Blackfin or FR-V. To simplify the live of the few uClibc-ng developers, LT.new is removed and LT.old is renamed to LT. LINUXTHREADS_OLD -> UCLIBC_HAS_LINUXTHREADS
Diffstat (limited to 'extra/Configs/Config.in')
-rw-r--r--extra/Configs/Config.in33
1 files changed, 5 insertions, 28 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 8eac9e008..17ae847ce 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -489,9 +489,9 @@ config HAS_NO_THREADS
help
Disable thread support.
-config LINUXTHREADS_OLD
- bool "older (stable) version of linuxthreads"
- # linuxthreads and linuxthreads.old need nanosleep()
+config UCLIBC_HAS_LINUXTHREADS
+ bool "Linuxthreads"
+ # linuxthreads need nanosleep()
select UCLIBC_HAS_REALTIME
depends on !TARGET_arc && \
!TARGET_arm && \
@@ -504,30 +504,7 @@ config LINUXTHREADS_OLD
!TARGET_xtensa || \
!ARCH_USE_MMU
help
- There are two versions of linuxthreads. The older (stable) version
- has been in uClibc for quite a long time but hasn't seen too many
- updates other than bugfixes.
-
-
-config LINUXTHREADS_NEW
- bool "slightly newer version of linuxthreads"
- depends on ARCH_HAS_DEPRECATED_SYSCALLS
- depends on !TARGET_arc && \
- !TARGET_arm && \
- !TARGET_i386 && \
- !TARGET_metag && \
- !TARGET_mips && \
- !TARGET_powerpc && \
- !TARGET_sh && \
- !TARGET_sparc && \
- !TARGET_x86_64 && \
- !TARGET_xtensa || \
- !ARCH_USE_MMU
- help
- The new version has not been tested much, and lacks ports for arches
- which glibc does not support (like bfin/frv/etc...), but is based on
- the latest code from glibc, so it may be the only choice for the
- newer ports (like alpha/amd64/64bit arches and hppa).
+ If you want to compile uClibc with Linuxthreads support, then answer Y.
config UCLIBC_HAS_THREADS_NATIVE
bool "Native POSIX Threading (NPTL)"
@@ -2336,7 +2313,7 @@ config DODEBUG
config DODEBUG_PT
bool "Build pthread with debugging output"
- depends on UCLIBC_HAS_THREADS && LINUXTHREADS_OLD
+ depends on UCLIBC_HAS_THREADS && UCLIBC_HAS_LINUXTHREADS
help
Enable debug output in libpthread. This is only useful when doing
development in libpthread itself.