config/libc/glibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Nov 13 21:37:18 2009 +0100 (2009-11-13)
changeset 1625 fde082da9813
parent 1615 50b25816f5bb
child 1758 dbdc25d84a20
permissions -rw-r--r--
libc/glibc: add 2.10.1

Woo... It seems the glibc guys finally decided that tarballs
were not deprecated, in fact.

The patchset was vampirised from Gentoo (kudos, guys!), and
applies to glibc+ports, so that's why it's been added as a
patchset against ports, not against glibc.
     1 # glibc options
     2 # depends on ! BARE_METAL && ARCH_USE_MMU
     3 
     4 config LIBC_glibc
     5     select LIBC_SUPPORT_NPTL
     6     select LIBC_SUPPORT_LINUXTHREADS
     7     help
     8       The de-facto standard for Linux distributions.
     9       Feature-rich, but large...  Most usefull for desktop-like systems.
    10 
    11 choice
    12     bool
    13     prompt "glibc version"
    14 # Don't remove next line
    15 # CT_INSERT_VERSION_BELOW
    16 
    17 config LIBC_V_2_10_1
    18     bool
    19     prompt "2.10.1 (EXPERIMENTAL)"
    20     depends on EXPERIMENTAL
    21     select LIBC_GLIBC_USE_PORTS
    22 
    23 config LIBC_V_2_9
    24     bool
    25     prompt "2.9"
    26     select LIBC_GLIBC_2_8_or_later
    27 
    28 config LIBC_V_2_8
    29     bool
    30     prompt "2.8"
    31     select LIBC_GLIBC_2_8_or_later
    32 
    33 config LIBC_V_2_7
    34     bool
    35     prompt "2.7 (OBSOLETE)"
    36     depends on OBSOLETE
    37 
    38 config LIBC_V_2_6_1
    39     bool
    40     prompt "2.6.1 (OBSOLETE)"
    41     depends on OBSOLETE
    42 
    43 config LIBC_V_2_6
    44     bool
    45     prompt "2.6 (OBSOLETE)"
    46     depends on OBSOLETE
    47 
    48 config LIBC_V_2_5_1
    49     bool
    50     prompt "2.5.1 (OBSOLETE)"
    51     depends on OBSOLETE
    52 
    53 config LIBC_V_2_5
    54     bool
    55     prompt "2.5 (OBSOLETE)"
    56     depends on OBSOLETE
    57 
    58 config LIBC_V_2_3_6
    59     bool
    60     prompt "2.3.6 (OBSOLETE)"
    61     depends on OBSOLETE
    62 
    63 endchoice
    64 
    65 config LIBC_VERSION
    66     string
    67 # Don't remove next line
    68 # CT_INSERT_VERSION_STRING_BELOW
    69     default "2.10.1" if LIBC_V_2_10_1
    70     default "2.9" if LIBC_V_2_9
    71     default "2.8" if LIBC_V_2_8
    72     default "2.7" if LIBC_V_2_7
    73     default "2.6.1" if LIBC_V_2_6_1
    74     default "2.6" if LIBC_V_2_6
    75     default "2.5.1" if LIBC_V_2_5_1
    76     default "2.5" if LIBC_V_2_5
    77     default "2.3.6" if LIBC_V_2_3_6
    78 
    79 config LIBC_GLIBC_2_8_or_later
    80     bool
    81     default n
    82 
    83 choice
    84     bool
    85     prompt "Retrieval method"
    86     default LIBC_GLIBC_TARBALL
    87 
    88 config LIBC_GLIBC_TARBALL
    89     bool
    90     prompt "Released tarball"
    91     depends on ! LIBC_GLIBC_2_8_or_later || ! ( LIBC_GLIBC_USE_PORTS || ( LIBC_ADDONS_LIST != "" ) )
    92     help
    93       Until end of Februrary 2009, there was no tarball for glibc releases
    94       2.8 and later. This was intentional.
    95       
    96       Then, all of a sudden, tarballs for those releases have appeared at the
    97       traditional download place (ftp.gnu.org).
    98       
    99       Some of the glibc people argue that fixes are committed to the maintenance
   100       branch, and thus it is the best plac e to retrieve the glibc from.
   101       On the other hand, it might be preferable to always generate a toolchain
   102       using a known code-base, so the toolchain can be reproducible.
   103       
   104       For version prior to 2.8, tarballs were readily available.
   105       
   106       If you want your toolchain to really be reproducible, say 'Y' here.
   107       If you can live with a moving code-base, look at the other choice
   108       entries, below.
   109 
   110 config LIBC_GLIBC_CVS
   111     bool
   112     prompt "CVS checkout"
   113     help
   114       See the help for the entry "Released tarball", above.
   115       
   116       If you can live with a moving code-base, say 'Y' here.
   117       If you want your toolchain to really be reproducible, look at the
   118       choice entry "Released tarball from FTP", above.
   119 
   120 if LIBC_GLIBC_CVS
   121 
   122 config LIBC_GLIBC_CVS_date
   123     string
   124     prompt "checkout as of date"
   125     default ""
   126     help
   127       The date, in ISO-8601 format, at which to check out the repository.
   128 
   129 endif #  LIBC_GLIBC_CVS
   130 
   131 endchoice