mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 14:42:26 +00:00
d2fe51a715
/trunk/kconfig/kconfig.mk | 10 8 2 0 ++++++-- /trunk/scripts/build/libc/glibc.sh | 2 1 1 0 +- /trunk/config/libc/glibc.in | 22 6 16 0 +++++------------- /trunk/config/libc/uClibc.in | 7 6 1 0 +++++- /trunk/config/libc/eglibc.in | 12 11 1 0 +++++++++- /trunk/config/libc.in | 53 4 49 0 +++----------------------------------------- 6 files changed, 36 insertions(+), 70 deletions(-)
76 lines
1.7 KiB
Plaintext
76 lines
1.7 KiB
Plaintext
# C library options
|
|
|
|
config LIBC
|
|
string
|
|
default "none" if BARE_METAL
|
|
|
|
if ! BARE_METAL
|
|
|
|
menu "C-library"
|
|
|
|
config LIBC_VERSION
|
|
string
|
|
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 save your C library tarball by yourself.
|
|
|
|
source config.gen/libc.in
|
|
|
|
comment "Common C library options"
|
|
|
|
config LIBC_SUPPORT_NPTL
|
|
bool
|
|
default n
|
|
|
|
config LIBC_SUPPORT_LINUXTHREADS
|
|
bool
|
|
default n
|
|
|
|
config THREADS
|
|
string
|
|
default "nptl" if THREADS_NPTL
|
|
default "linuxthreads" if THREADS_LINUXTHREADS
|
|
default "none" if THREADS_NONE
|
|
|
|
choice
|
|
bool
|
|
prompt "Threading implementation 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
|
|
|
|
# Hack: mconf does not allow to include a file multiple times,
|
|
# so include glibc and eglibc common options from here, rather
|
|
# than from each config files.
|
|
if LIBC_glibc || LIBC_eglibc
|
|
source config/libc/glibc-eglibc.in-common
|
|
endif
|
|
|
|
endmenu
|
|
|
|
endif # ! BARE_METAL
|