diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-06-08 22:41:25 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-06-08 22:41:25 (GMT) |
commit | 13b548757586759fb3093003d56a80efdd1eb602 (patch) | |
tree | 90ce835ff56b28fc3e46ea3094eefc9b28256a88 /config/libc | |
parent | 43ca5b409558d6eea50c99384b76980ebaf5f52d (diff) |
libc/uClibc: apply the threading model to the configuration
The threading model shall be be set in the .config file.
Also, offer the choice between 'old/stable' and 'new' linuxthreads.
Diffstat (limited to 'config/libc')
-rw-r--r-- | config/libc/uClibc.in.2 | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/config/libc/uClibc.in.2 b/config/libc/uClibc.in.2 new file mode 100644 index 0000000..647d768 --- /dev/null +++ b/config/libc/uClibc.in.2 @@ -0,0 +1,36 @@ +# uClibc second-part option + +if THREADS_LINUXTHREADS + +choice + bool + prompt "Linuxthread implementation: " + default LIBC_UCLIBC_LNXTHRD_OLD + +config LIBC_UCLIBC_LNXTHRD_OLD + bool + prompt "old/stable" + help + From the uClibc config option 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 LIBC_UCLIBC_LNXTHRD_NEW + bool + prompt "new" + help + From the uClibc config option 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). + +endchoice + +config LIBC_UCLIBC_LNXTHRD + string + default "old" if LIBC_UCLIBC_LNXTHRD_OLD + default "new" if LIBC_UCLIBC_LNXTHRD_NEW + +endif # THREADS_LINUXTHREADS |