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