config/libc/glibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 13 17:51:33 2009 +0200 (2009-09-13)
changeset 1534 d4ddf19a1968
parent 1345 27fec561af53
child 1535 073d351bdcd3
permissions -rw-r--r--
config: re-order menu entries so that latest versions are at the top

It makes better sense to have latest versions at the top of the choice
entries.
     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 
    15 config LIBC_V_2_9
    16     bool
    17     prompt "2.9"
    18     select LIBC_GLIBC_2_8_or_later
    19 
    20 config LIBC_V_2_8
    21     bool
    22     prompt "2.8"
    23     select LIBC_GLIBC_2_8_or_later
    24 
    25 config LIBC_V_2_7
    26     bool
    27     prompt "2.7"
    28 
    29 config LIBC_V_2_6_1
    30     bool
    31     prompt "2.6.1"
    32 
    33 config LIBC_V_2_6
    34     bool
    35     prompt "2.6"
    36 
    37 config LIBC_V_2_5_1
    38     bool
    39     prompt "2.5.1"
    40 
    41 config LIBC_V_2_5
    42     bool
    43     prompt "2.5"
    44 
    45 config LIBC_V_2_3_6
    46     bool
    47     prompt "2.3.6 (OBSOLETE)"
    48     depends on OBSOLETE
    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.9" if LIBC_V_2_9
    70     default "2.8" if LIBC_V_2_8
    71     default "2.7" if LIBC_V_2_7
    72     default "2.6.1" if LIBC_V_2_6_1
    73     default "2.6" if LIBC_V_2_6
    74     default "2.5.1" if LIBC_V_2_5_1
    75     default "2.5" if LIBC_V_2_5
    76     default "2.3.6" if LIBC_V_2_3_6
    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 choice
    85     bool
    86     prompt "Retrieval method"
    87     default LIBC_GLIBC_TARBALL
    88 
    89 config LIBC_GLIBC_TARBALL
    90     bool
    91     prompt "Released tarball"
    92     depends on ! LIBC_GLIBC_2_8_or_later || ! ( LIBC_GLIBC_USE_PORTS || ( LIBC_ADDONS_LIST != "" ) )
    93     help
    94       Until end of Februrary 2009, there was no tarball for glibc releases
    95       2.8 and later. This was intentional.
    96       
    97       Then, all of a sudden, tarballs for those releases have appeared at the
    98       traditional download place (ftp.gnu.org).
    99       
   100       Some of the glibc people argue that fixes are committed to the maintenance
   101       branch, and thus it is the best plac e to retrieve the glibc from.
   102       On the other hand, it might be preferable to always generate a toolchain
   103       using a known code-base, so the toolchain can be reproducible.
   104       
   105       For version prior to 2.8, tarballs were readily available.
   106       
   107       If you want your toolchain to really be reproducible, say 'Y' here.
   108       If you can live with a moving code-base, look at the other choice
   109       entries, below.
   110 
   111 config LIBC_GLIBC_CVS
   112     bool
   113     prompt "CVS checkout"
   114     help
   115       See the help for the entry "Released tarball", above.
   116       
   117       If you can live with a moving code-base, say 'Y' here.
   118       If you want your toolchain to really be reproducible, look at the
   119       choice entry "Released tarball from FTP", above.
   120 
   121 if LIBC_GLIBC_CVS
   122 
   123 config LIBC_GLIBC_CVS_date
   124     string
   125     prompt "checkout as of date"
   126     default ""
   127     help
   128       The date, in ISO-8601 format, at which to check out the repository.
   129 
   130 endif #  LIBC_GLIBC_CVS
   131 
   132 #config LIBC_GLIBC_SNAPSHOT
   133 #    bool
   134 #    prompt "Use latest nightly snapshot"
   135 #    help
   136 #      See the help for the entry "Released tarball", above.
   137 #      
   138 #      If you can live with a moving code-base, say 'Y' here.
   139 #      If you want your toolchain to really be reproducible, look at the
   140 #      choice entry "Released tarball from FTP", above.
   141 
   142 endchoice