2007-02-24 11:00:05 +00:00
|
|
|
# C library options
|
|
|
|
|
|
|
|
menu "C-library"
|
|
|
|
|
|
|
|
choice
|
|
|
|
bool
|
|
|
|
prompt "C-library to use:"
|
|
|
|
default LIBC_GLIBC
|
|
|
|
|
|
|
|
config LIBC_GLIBC
|
|
|
|
bool
|
|
|
|
prompt "glibc"
|
2007-05-14 19:59:41 +00:00
|
|
|
select LIBC_SUPPORT_NPTL
|
|
|
|
select LIBC_SUPPORT_LINUXTHREADS
|
2007-02-24 11:00:05 +00:00
|
|
|
|
|
|
|
config LIBC_UCLIBC
|
|
|
|
bool
|
|
|
|
prompt "uClibc"
|
2007-05-14 19:59:41 +00:00
|
|
|
select LIBC_SUPPORT_LINUXTHREADS
|
2007-02-24 11:00:05 +00:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config LIBC_VERSION
|
|
|
|
string
|
|
|
|
|
|
|
|
config LIBC
|
|
|
|
string
|
|
|
|
default "glibc" if LIBC_GLIBC
|
|
|
|
default "uClibc" if LIBC_UCLIBC
|
|
|
|
|
2007-05-14 19:59:41 +00:00
|
|
|
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
|
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
if LIBC_GLIBC
|
|
|
|
source config/libc_glibc.in
|
|
|
|
endif
|
|
|
|
|
|
|
|
if LIBC_UCLIBC
|
|
|
|
source config/libc_uClibc.in
|
|
|
|
endif
|
|
|
|
|
|
|
|
endmenu
|