config/libc/glibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat May 02 22:07:25 2009 +0000 (2009-05-02)
changeset 1314 34d1b285c5db
parent 1269 17e37102a037
child 1337 7f742f73c2d1
permissions -rw-r--r--
Force getting glibc>=2.8 via checkout if any addon is selected.

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