config/libc/glibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Aug 30 19:33:48 2009 +0200 (2009-08-30)
changeset 1497 1b90f0b34c80
parent 1337 7f742f73c2d1
child 1534 d4ddf19a1968
permissions -rw-r--r--
config: move down companion libraries sub-menu

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