summaryrefslogtreecommitdiff
path: root/kconfig/uclibc-kconfigs
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-03-27 22:41:08 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-03-27 22:47:19 +0100
commit8d15a993a7769d05d4c12d1f2c2939c473264363 (patch)
treeecd50619a1aa76de3fafb72db39103a5a4f6c8ce /kconfig/uclibc-kconfigs
parentd55bd41faac422a4bbbdea3da99aca4dd2958a04 (diff)
downloadembtoolkit-8d15a993a7769d05d4c12d1f2c2939c473264363.tar.gz
embtoolkit-8d15a993a7769d05d4c12d1f2c2939c473264363.tar.bz2
embtoolkit-8d15a993a7769d05d4c12d1f2c2939c473264363.tar.xz
Toolchain: llvm/clang/uClibc: require linuxthread or nptl
Compiler-rt needs threading support from the used C library, so for the moment require linuxthread or nptl (which have needed pthread_getattr_np()) Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'kconfig/uclibc-kconfigs')
-rw-r--r--kconfig/uclibc-kconfigs/uclibc.kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/kconfig/uclibc-kconfigs/uclibc.kconfig b/kconfig/uclibc-kconfigs/uclibc.kconfig
index 6a5e67b..06a9407 100644
--- a/kconfig/uclibc-kconfigs/uclibc.kconfig
+++ b/kconfig/uclibc-kconfigs/uclibc.kconfig
@@ -311,7 +311,7 @@ config KEMBTK_UCLIBC_LDSO_GNU_HASH_SUPPORT
choice
prompt "Thread support"
- default KEMBTK_UCLIBC_LINUXTHREADS_OLD
+ default KEMBTK_UCLIBC_LINUXTHREADS_NEW
help
If you want to compile uClibc with pthread support, then answer Y.
This will increase the size of uClibc by adding a bunch of locking
@@ -320,11 +320,13 @@ choice
config KEMBTK_UCLIBC_HAS_NO_THREADS
bool "none"
+ depends on !EMBTK_LLVM_ONLY_TOOLCHAIN && !EMBTK_GCC_AND_LLVM_TOOLCHAIN
help
Disable thread support.
config KEMBTK_UCLIBC_LINUXTHREADS_OLD
bool "older (stable) version of linuxthreads"
+ depends on !EMBTK_LLVM_ONLY_TOOLCHAIN && !EMBTK_GCC_AND_LLVM_TOOLCHAIN
# linuxthreads and linuxthreads.old need nanosleep()
select KEMBTK_UCLIBC_UCLIBC_HAS_REALTIME
help