1.1 --- a/config/toolchain.in Thu May 17 16:22:51 2007 +0000
1.2 +++ b/config/toolchain.in Thu Jul 12 13:22:26 2007 +0000
1.3 @@ -22,6 +22,35 @@
1.4 You might not want shared librries if you're building for a target that
1.5 don't support it (maybe some nommu targets, for example, or bare metal).
1.6
1.7 +choice
1.8 + bool
1.9 + prompt "Threading implentation to use:"
1.10 + default THREADS_NPTL if LIBC_SUPPORT_NPTL
1.11 + default THREADS_LINUXTHREADS if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
1.12 + default THREADS_NONE if ! LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
1.13 +
1.14 +config THREADS_NPTL
1.15 + bool
1.16 + prompt "nptl"
1.17 + depends on LIBC_SUPPORT_NPTL
1.18 +
1.19 +config THREADS_LINUXTHREADS
1.20 + bool
1.21 + prompt "linuxthreads"
1.22 + depends on LIBC_SUPPORT_LINUXTHREADS
1.23 +
1.24 +config THREADS_NONE
1.25 + bool
1.26 + prompt "none"
1.27 +
1.28 +endchoice
1.29 +
1.30 +config THREADS
1.31 + string
1.32 + default "nptl" if THREADS_NPTL
1.33 + default "linuxthreads" if THREADS_LINUXTHREADS
1.34 + default "none" if THREADS_NONE
1.35 +
1.36 config TARGET_MULTILIB
1.37 bool
1.38 # prompt "Enable 'multilib' support (EXPERIMENTAL)"