crosstool-ng/config/libc.in
Yann E. MORIN" 721da92158 Move the whole threading ;odel choice out of glibc and into the generic C library options: even uClibc may have NPTL at one point in the (hopefully near) future.
Mark the progress bar as being CPU-intensive.
Little style fix to the core C compiler build step.
2007-05-14 19:59:41 +00:00

73 lines
1.3 KiB
Plaintext

# C library options
menu "C-library"
choice
bool
prompt "C-library to use:"
default LIBC_GLIBC
config LIBC_GLIBC
bool
prompt "glibc"
select LIBC_SUPPORT_NPTL
select LIBC_SUPPORT_LINUXTHREADS
config LIBC_UCLIBC
bool
prompt "uClibc"
select LIBC_SUPPORT_LINUXTHREADS
endchoice
config LIBC_VERSION
string
config LIBC
string
default "glibc" if LIBC_GLIBC
default "uClibc" if LIBC_UCLIBC
config LIBC_SUPPORT_NPTL
bool
default n
config LIBC_SUPPORT_LINUXTHREADS
bool
default n
choice
bool
prompt "Threading implentation to use:"
default LIBC_THREADS_NPTL if LIBC_SUPPORT_NPTL
default LIBC_THREADS_LINUXTHREADS if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
default LIBC_THREADS_NONE if ! LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
depends on EXPERIMENTAL
config LIBC_THREADS_NPTL
bool
prompt "nptl (EXPERIMENTAL)"
depends on LIBC_SUPPORT_NPTL
depends on EXPERIMENTAL
config LIBC_THREADS_LINUXTHREADS
bool
prompt "linuxthreads"
depends on LIBC_SUPPORT_LINUXTHREADS
config LIBC_THREADS_NONE
bool
prompt "none"
endchoice
if LIBC_GLIBC
source config/libc_glibc.in
endif
if LIBC_UCLIBC
source config/libc_uClibc.in
endif
endmenu