config/libc/glibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Oct 10 14:30:44 2008 +0000 (2008-10-10)
changeset 916 68af6b83ff7e
parent 852 c17bb66e2aa5
child 922 3f0456891349
permissions -rw-r--r--
Simplify the Tools and Debug facilities menu entries:
- each config file no longer have to define their own 'menuconfig foo - if FOO - endif' gym
- each build script no longer has to say wether they are enabled
- generation of the 'menuconfig' entries for the Tools and Debug facilities now uses the same code
Some re-ordering of the code to be consistent with the steps ordering (tools, then debug).

/trunk/kconfig/kconfig.mk | 66 43 23 0 +++++++++++++++++++++++-------------
/trunk/scripts/build/debug.sh | 14 9 5 0 +++++---
/trunk/scripts/build/tools/000-template.sh | 7 0 7 0 ----
/trunk/scripts/build/tools/100-libelf.sh | 3 0 3 0 --
/trunk/scripts/build/tools/200-sstrip.sh | 2 0 2 0 -
/trunk/scripts/build/debug/000-template.sh | 7 0 7 0 ----
/trunk/scripts/build/debug/100-dmalloc.sh | 3 0 3 0 --
/trunk/scripts/build/debug/400-ltrace.sh | 3 0 3 0 --
/trunk/scripts/build/debug/300-gdb.sh | 3 0 3 0 --
/trunk/scripts/build/debug/500-strace.sh | 3 0 3 0 --
/trunk/scripts/build/debug/200-duma.sh | 3 0 3 0 --
/trunk/scripts/build/tools.sh | 14 9 5 0 +++++---
/trunk/scripts/crosstool.sh | 2 1 1 0
/trunk/config/debug/ltrace.in | 14 3 11 0 ++------
/trunk/config/debug/dmalloc.in | 9 1 8 0 +----
/trunk/config/debug/gdb.in | 9 1 8 0 +----
/trunk/config/debug/strace.in | 10 1 9 0 -----
/trunk/config/debug/duma.in | 10 1 9 0 -----
/trunk/config/tools/libelf.in | 12 2 10 0 +------
/trunk/config/tools/sstrip.in | 10 1 9 0 -----
/trunk/config/config.in | 4 2 2 0 +-
21 files changed, 74 insertions(+), 134 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