Threading model does not belong to the target sub-menu, but to the toolchain sub-menu.

This commit is contained in:
Yann E. MORIN" 2007-05-29 19:30:38 +00:00
parent 2f451b0094
commit abe0c8ba39
2 changed files with 29 additions and 29 deletions

View File

@ -57,35 +57,6 @@ config ARCH_LE
endchoice
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
comment "Target optimisations"
config ARCH_ARCH

View File

@ -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)"