Commonalise options common to both glibc and eglibc.
/trunk/scripts/build/libc_eglibc.sh | 6 3 3 0 +-
/trunk/config/libc/glibc.in | 63 2 61 0 +---------------------------------
/trunk/config/libc/eglibc.in | 61 1 60 0 +--------------------------------
/trunk/config/libc/eglibc-glibc-common.in | 1 1 0 0 +
/trunk/config/libc/glibc-eglibc-common.in | 69 69 0 0 +++++++++++++++++++++++++++++++++++++
5 files changed, 76 insertions(+), 124 deletions(-)
7 prompt "C-library to use:"
13 select LIBC_SUPPORT_NPTL
14 select LIBC_SUPPORT_LINUXTHREADS
17 source config/libc/glibc.in
22 prompt "eglibc (EXPERIMENTAL)"
23 select LIBC_SUPPORT_NPTL
24 select LIBC_SUPPORT_LINUXTHREADS
25 depends on EXPERIMENTAL
28 source config/libc/eglibc.in
34 select LIBC_SUPPORT_LINUXTHREADS
37 source config/libc/uClibc.in
47 default "glibc" if LIBC_GLIBC
48 default "eglibc" if LIBC_EGLIBC
49 default "uClibc" if LIBC_UCLIBC
51 config LIBC_SUPPORT_NPTL
55 config LIBC_SUPPORT_LINUXTHREADS
61 prompt "Threading implementation to use:"
62 default THREADS_NPTL if LIBC_SUPPORT_NPTL
63 default THREADS_LINUXTHREADS if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
64 default THREADS_NONE if ! LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
69 depends on LIBC_SUPPORT_NPTL
71 config THREADS_LINUXTHREADS
74 depends on LIBC_SUPPORT_LINUXTHREADS
84 default "nptl" if THREADS_NPTL
85 default "linuxthreads" if THREADS_LINUXTHREADS
86 default "none" if THREADS_NONE
90 Enter the date of the snapshot you want to use in the form: YYYYMMDD
91 where YYYY is the 4-digit year, MM the 2-digit month and DD the 2-digit
95 - glibc has snapshots done every monday, and only the last ten are kept.
96 - uClibc has daily snapshots, and only the last 30-or-so are kept.
98 So if you want to be able to re-build your toolchain later, you will
99 have to save your C library tarball by yourself.