config/libc/glibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed May 20 20:13:13 2009 +0000 (2009-05-20)
changeset 1345 27fec561af53
parent 1337 7f742f73c2d1
child 1534 d4ddf19a1968
permissions -rw-r--r--
Merge the uClinux/noMMU stuff back to /trunk:
- merge Linux and uClinux back to a single kernel
- add ARCH_USE_MMU and acquainted config options that
architectures can auto-select
- make binutils and elf2flt two "Binary utilities" that
go in a single common sub-{menu,directory} structure

-------- diffstat follows --------
/trunk/scripts/build/kernel/uclinux.sh | 2 0 2 0 -
/trunk/scripts/build/kernel/linux.sh | 206 204 2 0 +++++++++++++++++++++++++++++
/trunk/scripts/build/kernel/linux-common.sh | 198 0 198 0 ----------------------------
/trunk/scripts/build/binutils.sh | 232 0 232 0 --------------------------------
/trunk/scripts/build/elf2flt.sh | 150 0 150 0 ---------------------
/trunk/scripts/crosstool-NG.sh.in | 6 4 2 0 +
/trunk/config/kernel/linux.in | 249 249 0 0 +++++++++++++++++++++++++++++++++++
/trunk/config/kernel/linux.in-common | 252 0 252 0 -----------------------------------
/trunk/config/kernel/uclinux.in | 21 0 21 0 ---
/trunk/config/target.in | 23 22 1 0 +++
/trunk/config/elf2flt.in | 49 0 49 0 -------
/trunk/config/libc/glibc.in | 2 1 1 0
/trunk/config/libc/eglibc.in | 2 1 1 0
/trunk/config/config.in | 1 0 1 0 -
/trunk/config/arch/sh.in | 1 1 0 0 +
/trunk/config/arch/arm.in | 2 1 1 0
/trunk/config/arch/powerpc.in | 1 1 0 0 +
/trunk/config/arch/ia64.in | 1 1 0 0 +
/trunk/config/arch/alpha.in | 1 1 0 0 +
/trunk/config/arch/x86.in | 1 1 0 0 +
/trunk/config/arch/mips.in | 1 1 0 0 +
/trunk/config/arch/powerpc64.in | 1 1 0 0 +
22 files changed, 489 insertions(+), 913 deletions(-)
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