From b8efd7f6963e2f527d22c840f42cead6dc08d136 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 12 Oct 2015 16:36:26 +0200 Subject: 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. --- extra/Configs/Config.in | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'extra') 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. -- cgit v1.2.3