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
|
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
if LIBC_GLIBC
|
2008-04-17 21:04:23 +00:00
|
|
|
source config/libc/glibc.in
|
2007-02-24 11:00:05 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if LIBC_UCLIBC
|
2008-04-17 21:04:23 +00:00
|
|
|
source config/libc/uClibc.in
|
2007-02-24 11:00:05 +00:00
|
|
|
endif
|
|
|
|
|
2008-07-22 13:29:08 +00:00
|
|
|
config LIBC_VERSION
|
|
|
|
help
|
|
|
|
Enter the date of the snapshot you want to use in the form: YYYYMMDD
|
|
|
|
where YYYY is the 4-digit year, MM the 2-digit month and DD the 2-digit
|
|
|
|
day in the month.
|
|
|
|
|
|
|
|
Please note:
|
|
|
|
- glibc has snapshots done every monday, and only the last ten are kept.
|
|
|
|
- uClibc has daily snapshots, and only the last 30-or-so are kept.
|
|
|
|
|
|
|
|
So if you want to be able to re-build your toolchain later, you will
|
|
|
|
have to sacve your C library tarball by yourself.
|
|
|
|
|
2007-02-24 11:00:05 +00:00
|
|
|
endmenu
|