diff options
| author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-10-12 16:36:26 +0200 | 
|---|---|---|
| committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-10-12 16:36:26 +0200 | 
| commit | b8efd7f6963e2f527d22c840f42cead6dc08d136 (patch) | |
| tree | a0aac182747a25db9a85b5104d588b67e2733fc8 | |
| parent | 13a6cfff31774dd06b861f1f4a9b0e36fa5ac01d (diff) | |
restrict linuxthreads/nptl choice
For architectures supporting no MMU systems, allow to use
Linuxthreads. BFLAT does not support TLS right now, so NPTL
can not be used.
| -rw-r--r-- | extra/Configs/Config.in | 10 | 
1 files changed, 7 insertions, 3 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index a9c01f130..ab6d01b05 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -533,6 +533,7 @@ config LINUXTHREADS_OLD  	# linuxthreads and linuxthreads.old need nanosleep()  	select UCLIBC_HAS_REALTIME  	depends on !TARGET_arc && \ +		   !TARGET_arm && \  		   !TARGET_i386 && \  		   !TARGET_metag && \  		   !TARGET_mips && \ @@ -540,7 +541,8 @@ config LINUXTHREADS_OLD  		   !TARGET_sh && \  		   !TARGET_sparc && \  		   !TARGET_x86_64 && \ -		   !TARGET_xtensa +		   !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 @@ -559,7 +561,8 @@ config LINUXTHREADS_NEW  		   !TARGET_sh && \  		   !TARGET_sparc && \  		   !TARGET_x86_64 && \ -		   !TARGET_xtensa +		   !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 @@ -585,7 +588,8 @@ config UCLIBC_HAS_THREADS_NATIVE  		   !TARGET_microblaze && \  		   !TARGET_nios2 && \  		   !TARGET_or1k && \ -		   !TARGET_vax +		   !TARGET_vax && \ +		   ARCH_USE_MMU  	help  	  If you want to compile uClibc with NPTL support, then answer Y.  | 
