config/libc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Aug 11 12:22:47 2008 +0000 (2008-08-11)
changeset 787 0725d7f8ab22
parent 710 021546adce69
child 793 35b0ddf2c462
permissions -rw-r--r--
Merge the branches/eglibc stuff:
- Add support for eglibc

/trunk/scripts/functions | 6 4 2 0 ++++--
/trunk/docs/CREDITS | 1 1 0 0 +
/trunk/config/libc.in | 12 12 0 0 ++++++++++++
/trunk/arch/arm/functions | 4 2 2 0 ++--
4 files changed, 19 insertions(+), 4 deletions(-)
     1 # C library options
     2 
     3 menu "C-library"
     4 
     5 choice
     6     bool
     7     prompt "C-library to use:"
     8     default LIBC_GLIBC
     9 
    10 config LIBC_GLIBC
    11     bool
    12     prompt "glibc"
    13     select LIBC_SUPPORT_NPTL
    14     select LIBC_SUPPORT_LINUXTHREADS
    15 
    16 config LIBC_EGLIBC
    17     bool
    18     prompt "eglibc (EXPERIMENTAL)"
    19     select LIBC_SUPPORT_NPTL
    20     select LIBC_SUPPORT_LINUXTHREADS
    21     depends on EXPERIMENTAL
    22 
    23 config LIBC_UCLIBC
    24     bool
    25     prompt "uClibc"
    26     select LIBC_SUPPORT_LINUXTHREADS
    27 
    28 endchoice
    29 
    30 config LIBC_VERSION
    31     string
    32 
    33 config LIBC
    34     string
    35     default "glibc" if LIBC_GLIBC
    36     default "eglibc" if LIBC_EGLIBC
    37     default "uClibc" if LIBC_UCLIBC
    38 
    39 config LIBC_SUPPORT_NPTL
    40     bool
    41     default n
    42 
    43 config LIBC_SUPPORT_LINUXTHREADS
    44     bool
    45     default n
    46 
    47 if LIBC_GLIBC
    48 source config/libc/glibc.in
    49 endif
    50 
    51 if LIBC_EGLIBC
    52 source config/libc/eglibc.in
    53 endif
    54 
    55 if LIBC_UCLIBC
    56 source config/libc/uClibc.in
    57 endif
    58 
    59 config LIBC_VERSION
    60     help
    61       Enter the date of the snapshot you want to use in the form: YYYYMMDD
    62       where YYYY is the 4-digit year, MM the 2-digit month and DD the 2-digit
    63       day in the month.
    64       
    65       Please note:
    66       - glibc has snapshots done every monday, and only the last ten are kept.
    67       - uClibc has daily snapshots, and only the last 30-or-so are kept.
    68       
    69       So if you want to be able to re-build your toolchain later, you will
    70       have to sacve your C library tarball by yourself.
    71 
    72 endmenu