crosstool-ng/config/libc/glibc.in
Yann E. MORIN" dc54c40704 Enable using glibc post 2.8:
- retrieve tarballs from FTP/HTTP for glibc 2.7 and older
- checkout from CVS for glibc 2.8 and later
- add config options for glibc-2_8 and glibc-2_9

 /trunk/scripts/build/libc/glibc.sh |   50    39    11     0 ++++++++++++++++++++++++++++++++++----------
 /trunk/config/libc/glibc.in        |   49    49     0     0 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+), 11 deletions(-)
2009-01-04 12:46:13 +00:00

117 lines
2.3 KiB
Plaintext

# glibc options
config LIBC_glibc
select LIBC_SUPPORT_NPTL
select LIBC_SUPPORT_LINUXTHREADS
help
The de-facto standard for Linux distributions.
Feature-rich, but large... Most usefull for desktop-like systems.
choice
bool
prompt "glibc version"
config LIBC_V_2_3_6
bool
prompt "2.3.6 (OBSOLETE)"
depends on OBSOLETE
config LIBC_V_2_5
bool
prompt "2.5"
config LIBC_V_2_5_1
bool
prompt "2.5.1"
config LIBC_V_2_6
bool
prompt "2.6"
config LIBC_V_2_6_1
bool
prompt "2.6.1"
config LIBC_V_2_7
bool
prompt "2.7"
config LIBC_V_2_8
bool
prompt "2_8"
select LIBC_GLIBC_2_8_or_later
config LIBC_V_2_9
bool
prompt "2_9"
select LIBC_GLIBC_2_8_or_later
# CT_INSERT_VERSION_ABOVE
# Don't remove above line!
config LIBC_V_LATEST
bool
prompt "'latest' snapshot (EXPERIMENTAL)"
depends on EXPERIMENTAL
config LIBC_V_date
bool
prompt "<specific date> (EXPERIMENTAL)"
depends on EXPERIMENTAL
endchoice
config LIBC_VERSION
string
prompt "Enter date (YYYYMMDD)" if LIBC_V_date
default "latest" if LIBC_V_LATEST
default "2.3.6" if LIBC_V_2_3_6
default "2.4" if LIBC_V_2_4
default "2.5" if LIBC_V_2_5
default "2.5.1" if LIBC_V_2_5_1
default "2.6" if LIBC_V_2_6
default "2.6.1" if LIBC_V_2_6_1
default "2.7" if LIBC_V_2_7
default "2_8" if LIBC_V_2_8
default "2_9" if LIBC_V_2_9
# CT_INSERT_VERSION_STRING_ABOVE
# Don't remove above line!
config LIBC_GLIBC_2_8_or_later
bool
default n
if LIBC_GLIBC_2_8_or_later
config LIBC_GLIBC_latest_snapshot
bool
prompt "Use latest nightly snapshot"
default n
help
Say 'y' to use the latest nightly snapshot.
Not recommended, as the toolchain will not be reproducible.
if ! LIBC_GLIBC_latest_snapshot
comment "Using CVS checkout"
config LIBC_GLIBC_CVS_date
string
prompt "checkout as of date"
default ""
help
The date, in ISO-8601 format, at which to check out the repository.
#config LIBC_GLIBC_CVS_CHECKOUT
# bool
# prompt "checkout instead of export"
# default n
# help
# Use checkout rather than export, so that you can later update
# the sources.
# Not recommended, as the toolchain could be non-reproducible.
endif # ! LIBC_GLIBC_latest_snapshot
endif # LIBC_GLIBC_2_8_or_later