config/libc/glibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Oct 01 18:10:40 2008 +0000 (2008-10-01)
changeset 894 c444ce4b51b9
parent 852 c17bb66e2aa5
child 922 3f0456891349
permissions -rw-r--r--
Save the toolchain configuration to its own file, as an auto-extracting shell script:
- get rid of the 'extractconfig' action, it was cumbersome to use, and badly documented,
- introduce a skeleton for the config script,
- update auto-completion,
- document the config script.

/trunk/kconfig/kconfig.mk | 9 2 7 0 ++-------
/trunk/scripts/crosstool.sh | 6 5 1 0 +++++-
/trunk/docs/overview.txt | 21 9 12 0 +++++++++------------
/trunk/tools/toolchain-config.in | 8 8 0 0 ++++++++
/trunk/ct-ng.comp | 2 1 1 0 +-
5 files changed, 25 insertions(+), 21 deletions(-)
yann@448
     1
# glibc options
yann@448
     2
yann@852
     3
comment "glibc specific options"
yann@852
     4
yann@448
     5
choice
yann@448
     6
    bool
yann@448
     7
    prompt "glibc version"
yann@448
     8
yann@448
     9
config LIBC_V_2_3_6
yann@448
    10
    bool
yann@448
    11
    prompt "2.3.6 (OBSOLETE)"
yann@448
    12
    depends on OBSOLETE
yann@448
    13
yann@448
    14
config LIBC_V_2_5
yann@448
    15
    bool
yann@448
    16
    prompt "2.5"
yann@448
    17
yann@448
    18
config LIBC_V_2_5_1
yann@448
    19
    bool
yann@448
    20
    prompt "2.5.1"
yann@448
    21
yann@448
    22
config LIBC_V_2_6
yann@448
    23
    bool
yann@448
    24
    prompt "2.6"
yann@448
    25
yann@448
    26
config LIBC_V_2_6_1
yann@448
    27
    bool
yann@448
    28
    prompt "2.6.1"
yann@448
    29
yann@448
    30
config LIBC_V_2_7
yann@448
    31
    bool
yann@448
    32
    prompt "2.7"
yann@448
    33
yann@448
    34
# CT_INSERT_VERSION_ABOVE
yann@448
    35
# Don't remove above line!
yann@865
    36
yann@865
    37
config LIBC_V_LATEST
yann@865
    38
    bool
yann@865
    39
    prompt "'latest' snapshot (EXPERIMENTAL)"
yann@865
    40
    depends on EXPERIMENTAL
yann@865
    41
yann@865
    42
config LIBC_V_date
yann@865
    43
    bool
yann@865
    44
    prompt "<specific date> (EXPERIMENTAL)"
yann@865
    45
    depends on EXPERIMENTAL
yann@865
    46
yann@448
    47
endchoice
yann@448
    48
yann@448
    49
config LIBC_VERSION
yann@448
    50
    string
yann@710
    51
    prompt "Enter date (YYYYMMDD)" if LIBC_V_date
yann@710
    52
    default "latest" if LIBC_V_LATEST
yann@448
    53
    default "2.3.6" if LIBC_V_2_3_6
yann@448
    54
    default "2.4" if LIBC_V_2_4
yann@448
    55
    default "2.5" if LIBC_V_2_5
yann@448
    56
    default "2.5.1" if LIBC_V_2_5_1
yann@448
    57
    default "2.6" if LIBC_V_2_6
yann@448
    58
    default "2.6.1" if LIBC_V_2_6_1
yann@448
    59
    default "2.7" if LIBC_V_2_7
yann@448
    60
# CT_INSERT_VERSION_STRING_ABOVE
yann@448
    61
# Don't remove above line!
yann@448
    62
yann@448
    63
# Please note: This is not used for now (no sh support).
yann@448
    64
config LIBC_GLIBC_CONFIGPARMS
yann@448
    65
    string
yann@808
    66
#    prompt "Extra config params (READ HELP)"
yann@448
    67
    default "" if ARCH != "sh3" && ARCH != "sh4"
yann@448
    68
    default "no-z-defs=yes" if ARCH = "sh3" || ARCH = "sh4"
yann@448
    69
    help
yann@448
    70
      Some architectures need to set options in the file configparms.
yann@448
    71
      This is the case for sh3/4, which really need to set configparms as of
yann@448
    72
      gcc-3.4/glibc-2.3.2.
yann@448
    73
yann@448
    74
      Unless you are building a toolchain for sh3/4, you should leave that empty.
yann@448
    75
yann@448
    76
      Note: this is awkward, doesn't work well if you need more than one
yann@448
    77
            line in configparms