summaryrefslogtreecommitdiff
path: root/kconfig/uclibc-kconfigs/uclibc.kconfig
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2010-03-20 23:31:41 +0100
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2010-03-20 23:31:41 +0100
commit6592dc707b5c7722bb1b0c384f427ad8a48910f2 (patch)
tree79a40ec49274cd94c248ebdae7a85f521f3e5db0 /kconfig/uclibc-kconfigs/uclibc.kconfig
parent74a5365babd9d0c838d367e1f74ea55c4710b426 (diff)
downloadembtoolkit-6592dc707b5c7722bb1b0c384f427ad8a48910f2.tar.gz
embtoolkit-6592dc707b5c7722bb1b0c384f427ad8a48910f2.tar.bz2
embtoolkit-6592dc707b5c7722bb1b0c384f427ad8a48910f2.tar.xz
Toolchain: uClibc: correctly handle threads options
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'kconfig/uclibc-kconfigs/uclibc.kconfig')
-rw-r--r--kconfig/uclibc-kconfigs/uclibc.kconfig31
1 files changed, 15 insertions, 16 deletions
diff --git a/kconfig/uclibc-kconfigs/uclibc.kconfig b/kconfig/uclibc-kconfigs/uclibc.kconfig
index eaf7c28..9f9472e 100644
--- a/kconfig/uclibc-kconfigs/uclibc.kconfig
+++ b/kconfig/uclibc-kconfigs/uclibc.kconfig
@@ -627,15 +627,9 @@ choice
locking to critical data structures, and adding extra code to
ensure that functions are properly reentrant.
-config KEMBTK_UCLIBC_HAS_NO_THREADS
- bool "none"
- help
- Disable thread support.
-
config KEMBTK_UCLIBC_LINUXTHREADS_OLD
bool "Use the older (stable) version of linuxthreads"
select KEMBTK_UCLIBC_UCLIBC_HAS_THREADS
- default y
help
There are two versions of linuxthreads. The older (stable)
version has been in uClibc for quite a long time but hasn't seen
@@ -645,8 +639,23 @@ config KEMBTK_UCLIBC_LINUXTHREADS_OLD
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).
+config KEMBTK_UCLIBC_HAS_NO_THREADS
+ bool "none"
+ help
+ Disable thread support.
+
endchoice
+config KEMBTK_UCLIBC_UCLIBC_HAS_THREADS
+ bool
+ 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 to critical data structures, and adding extra code to
+ ensure that functions are properly reentrant.
+ If your applications require pthreads, answer Y.
+
config KEMBTK_UCLIBC_LINUXTHREADS_NEW
bool
default n
@@ -673,16 +682,6 @@ config KEMBTK_UCLIBC_PTHREADS_DEBUG_SUPPORT
If you are doing development and want to debug applications
using uClibc's pthread library, answer Y. Otherwise, answer N.
-config KEMBTK_UCLIBC_UCLIBC_HAS_THREADS
- bool
- 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 to critical data structures, and adding extra code to
- ensure that functions are properly reentrant.
- If your applications require pthreads, answer Y.
-
config KEMBTK_UCLIBC_UCLIBC_HAS_SYSLOG
bool "Syslog support"
default y