config/libc/glibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jan 04 12:46:13 2009 +0000 (2009-01-04)
changeset 1114 c3516fc7460d
parent 922 3f0456891349
child 1260 777153645ab8
permissions -rw-r--r--
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(-)
     1 # glibc options
     2 
     3 config LIBC_glibc
     4     select LIBC_SUPPORT_NPTL
     5     select LIBC_SUPPORT_LINUXTHREADS
     6     help
     7       The de-facto standard for Linux distributions.
     8       Feature-rich, but large...  Most usefull for desktop-like systems.
     9 
    10 choice
    11     bool
    12     prompt "glibc version"
    13 
    14 config LIBC_V_2_3_6
    15     bool
    16     prompt "2.3.6 (OBSOLETE)"
    17     depends on OBSOLETE
    18 
    19 config LIBC_V_2_5
    20     bool
    21     prompt "2.5"
    22 
    23 config LIBC_V_2_5_1
    24     bool
    25     prompt "2.5.1"
    26 
    27 config LIBC_V_2_6
    28     bool
    29     prompt "2.6"
    30 
    31 config LIBC_V_2_6_1
    32     bool
    33     prompt "2.6.1"
    34 
    35 config LIBC_V_2_7
    36     bool
    37     prompt "2.7"
    38 
    39 config LIBC_V_2_8
    40     bool
    41     prompt "2_8"
    42     select LIBC_GLIBC_2_8_or_later
    43 
    44 config LIBC_V_2_9
    45     bool
    46     prompt "2_9"
    47     select LIBC_GLIBC_2_8_or_later
    48 
    49 # CT_INSERT_VERSION_ABOVE
    50 # Don't remove above line!
    51 
    52 config LIBC_V_LATEST
    53     bool
    54     prompt "'latest' snapshot (EXPERIMENTAL)"
    55     depends on EXPERIMENTAL
    56 
    57 config LIBC_V_date
    58     bool
    59     prompt "<specific date> (EXPERIMENTAL)"
    60     depends on EXPERIMENTAL
    61 
    62 endchoice
    63 
    64 config LIBC_VERSION
    65     string
    66     prompt "Enter date (YYYYMMDD)" if LIBC_V_date
    67     default "latest" if LIBC_V_LATEST
    68     default "2.3.6" if LIBC_V_2_3_6
    69     default "2.4" if LIBC_V_2_4
    70     default "2.5" if LIBC_V_2_5
    71     default "2.5.1" if LIBC_V_2_5_1
    72     default "2.6" if LIBC_V_2_6
    73     default "2.6.1" if LIBC_V_2_6_1
    74     default "2.7" if LIBC_V_2_7
    75     default "2_8" if LIBC_V_2_8
    76     default "2_9" if LIBC_V_2_9
    77 # CT_INSERT_VERSION_STRING_ABOVE
    78 # Don't remove above line!
    79 
    80 config LIBC_GLIBC_2_8_or_later
    81     bool
    82     default n
    83 
    84 if LIBC_GLIBC_2_8_or_later
    85 
    86 config LIBC_GLIBC_latest_snapshot
    87     bool
    88     prompt "Use latest nightly snapshot"
    89     default n
    90     help
    91       Say 'y' to use the latest nightly snapshot.
    92       Not recommended, as the toolchain will not be reproducible.
    93 
    94 if ! LIBC_GLIBC_latest_snapshot
    95 
    96 comment "Using CVS checkout"
    97 
    98 config LIBC_GLIBC_CVS_date
    99     string
   100     prompt "checkout as of date"
   101     default ""
   102     help
   103       The date, in ISO-8601 format, at which to check out the repository.
   104 
   105 #config LIBC_GLIBC_CVS_CHECKOUT
   106 #    bool
   107 #    prompt "checkout instead of export"
   108 #    default n
   109 #    help
   110 #      Use checkout rather than export, so that you can later update
   111 #      the sources.
   112 #      Not recommended, as the toolchain could be non-reproducible.
   113 
   114 endif # ! LIBC_GLIBC_latest_snapshot
   115 
   116 endif # LIBC_GLIBC_2_8_or_later