config/libc/glibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Oct 03 18:19:39 2009 +0200 (2009-10-03)
changeset 1558 d2b746e94197
parent 1557 a576367cac44
child 1615 50b25816f5bb
permissions -rw-r--r--
libc/glibc: don't use legacy snapshots

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