diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-29 19:30:38 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-29 19:30:38 +0000 |
commit | abe0c8ba392d2b46a8a547bfcf96f8e08c8c8511 (patch) | |
tree | 003096d7b300f5e498d5bf294841ec044719d4d4 /config/toolchain.in | |
parent | 2f451b0094b000872d328eeb24c45ee1a3a84115 (diff) | |
download | crosstool-ng-abe0c8ba392d2b46a8a547bfcf96f8e08c8c8511.tar.gz crosstool-ng-abe0c8ba392d2b46a8a547bfcf96f8e08c8c8511.tar.bz2 crosstool-ng-abe0c8ba392d2b46a8a547bfcf96f8e08c8c8511.zip |
Threading model does not belong to the target sub-menu, but to the toolchain sub-menu.
Diffstat (limited to 'config/toolchain.in')
-rw-r--r-- | config/toolchain.in | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/config/toolchain.in b/config/toolchain.in index 9c178c6d..f46e1dc5 100644 --- a/config/toolchain.in +++ b/config/toolchain.in @@ -22,6 +22,35 @@ config SHARED_LIBS You might not want shared librries if you're building for a target that don't support it (maybe some nommu targets, for example, or bare metal). +choice + bool + prompt "Threading implentation to use:" + default THREADS_NPTL if LIBC_SUPPORT_NPTL + default THREADS_LINUXTHREADS if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL + default THREADS_NONE if ! LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL + +config THREADS_NPTL + bool + prompt "nptl" + depends on LIBC_SUPPORT_NPTL + +config THREADS_LINUXTHREADS + bool + prompt "linuxthreads" + depends on LIBC_SUPPORT_LINUXTHREADS + +config THREADS_NONE + bool + prompt "none" + +endchoice + +config THREADS + string + default "nptl" if THREADS_NPTL + default "linuxthreads" if THREADS_LINUXTHREADS + default "none" if THREADS_NONE + config TARGET_MULTILIB bool # prompt "Enable 'multilib' support (EXPERIMENTAL)" |