config/libc/glibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Mar 15 20:50:40 2009 +0000 (2009-03-15)
changeset 1260 777153645ab8
parent 1114 c3516fc7460d
child 1269 17e37102a037
permissions -rw-r--r--
Sanitise using glibc cvs exports:
- recently, tarballs for glibc 2.8 and 2.9 have appeared on the GNU ftp site
- always use a dot in version strings (eg. 2.9, not 2_9)

/trunk/scripts/build/libc/glibc.sh | 135 76 59 0 +++++++++++++++++++++++++-------------------
/trunk/config/libc/glibc.in | 71 45 26 0 +++++++++++++++--------
2 files changed, 121 insertions(+), 85 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 
    43 config LIBC_V_2_9
    44     bool
    45     prompt "2.9"
    46 
    47 # CT_INSERT_VERSION_ABOVE
    48 # Don't remove above line!
    49 
    50 config LIBC_V_LATEST
    51     bool
    52     prompt "'latest' snapshot (EXPERIMENTAL)"
    53     depends on EXPERIMENTAL
    54 
    55 config LIBC_V_date
    56     bool
    57     prompt "<specific date> (EXPERIMENTAL)"
    58     depends on EXPERIMENTAL
    59 
    60 endchoice
    61 
    62 config LIBC_VERSION
    63     string
    64     prompt "Enter date (YYYYMMDD)" if LIBC_V_date
    65     default "latest" if LIBC_V_LATEST
    66     default "2.3.6" if LIBC_V_2_3_6
    67     default "2.4" if LIBC_V_2_4
    68     default "2.5" if LIBC_V_2_5
    69     default "2.5.1" if LIBC_V_2_5_1
    70     default "2.6" if LIBC_V_2_6
    71     default "2.6.1" if LIBC_V_2_6_1
    72     default "2.7" if LIBC_V_2_7
    73     default "2.8" if LIBC_V_2_8
    74     default "2.9" if LIBC_V_2_9
    75 # CT_INSERT_VERSION_STRING_ABOVE
    76 # Don't remove above line!
    77 
    78 choice
    79     bool
    80     prompt "Retrieval method"
    81     default LIBC_GLIBC_TARBALL
    82 
    83 config LIBC_GLIBC_TARBALL
    84     bool
    85     prompt "Released tarball"
    86     help
    87       Until end of Februrary 2009, there was no tarball for glibc releases
    88       2.8 and later. This was intentional.
    89       
    90       Then, all of a sudden, tarballs for those releases have appeared at the
    91       traditional download place (ftp.gnu.org).
    92       
    93       Some of the glibc people argue that fixes are committed to the maintenance
    94       branch, and thus it is the best plac e to retrieve the glibc from.
    95       On the other hand, it might be preferable to always generate a toolchain
    96       using a known code-base, so the toolchain can be reproducible.
    97       
    98       For version prior to 2.8, tarballs were readily available.
    99       
   100       If you want your toolchain to really be reproducible, say 'Y' here.
   101       If you can live with a moving code-base, look at the other choice
   102       entries, below.
   103 
   104 config LIBC_GLIBC_CVS
   105     bool
   106     prompt "CVS checkout"
   107     help
   108       See the help for the entry "Released tarball", above.
   109       
   110       If you can live with a moving code-base, say 'Y' here.
   111       If you want your toolchain to really be reproducible, look at the
   112       choice entry "Released tarball from FTP", above.
   113 
   114 if LIBC_GLIBC_CVS
   115 
   116 config LIBC_GLIBC_CVS_date
   117     string
   118     prompt "checkout as of date"
   119     default ""
   120     help
   121       The date, in ISO-8601 format, at which to check out the repository.
   122 
   123 endif #  LIBC_GLIBC_CVS
   124 
   125 #config LIBC_GLIBC_SNAPSHOT
   126 #    bool
   127 #    prompt "Use latest nightly snapshot"
   128 #    help
   129 #      See the help for the entry "Released tarball", above.
   130 #      
   131 #      If you can live with a moving code-base, say 'Y' here.
   132 #      If you want your toolchain to really be reproducible, look at the
   133 #      choice entry "Released tarball from FTP", above.
   134 
   135 endchoice