config/libc/eglibc.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(-)
yann@787
     1
# eglibc options
yann@787
     2
yann@852
     3
comment "eglibc specific options"
yann@852
     4
yann@787
     5
choice
yann@787
     6
    bool
yann@787
     7
    prompt "eglibc version"
yann@787
     8
yann@787
     9
config EGLIBC_V_2_5
yann@787
    10
    bool
yann@787
    11
    prompt "2.5"
yann@787
    12
yann@787
    13
config EGLIBC_V_2_6
yann@787
    14
    bool
yann@787
    15
    prompt "2.6"
yann@787
    16
yann@787
    17
config EGLIBC_V_2_7
yann@787
    18
    bool
yann@787
    19
    prompt "2.7"
yann@787
    20
yann@787
    21
config EGLIBC_V_2_8
yann@787
    22
    bool
yann@787
    23
    prompt "2.8"
yann@787
    24
yann@787
    25
# CT_INSERT_VERSION_ABOVE
yann@787
    26
# Don't remove above line!
yann@865
    27
yann@865
    28
config EGLIBC_V_TRUNK
yann@865
    29
    bool
yann@865
    30
    prompt "'trunk'"
yann@865
    31
    help
yann@865
    32
      Selecting this will export the trunk of the eglibc subversion repository.
yann@865
    33
yann@787
    34
endchoice
yann@787
    35
yann@787
    36
config LIBC_VERSION
yann@787
    37
    string
yann@787
    38
    default "trunk" if EGLIBC_V_TRUNK
yann@787
    39
    default "2_5" if EGLIBC_V_2_5
yann@787
    40
    default "2_6" if EGLIBC_V_2_6
yann@787
    41
    default "2_7" if EGLIBC_V_2_7
yann@787
    42
    default "2_8" if EGLIBC_V_2_8
yann@787
    43
# CT_INSERT_VERSION_STRING_ABOVE
yann@787
    44
# Don't remove above line!
yann@787
    45
yann@787
    46
config EGLIBC_REVISION
yann@787
    47
    string
yann@787
    48
    prompt "Revision to use"
yann@787
    49
    default "HEAD"
yann@787
    50
    help
yann@787
    51
      Enter the revision of trunk you want to use.
yann@787
    52
      Default is HEAD.
yann@787
    53
      
yann@787
    54
      A revision argument can be one of:
yann@787
    55
          NUMBER       revision number
yann@787
    56
          '{' DATE '}' revision at start of the date (*)
yann@787
    57
          'HEAD'       latest in repository
yann@787
    58
      
yann@787
    59
      (*) If you want to use a date, please use ISO-8601 formats if
yann@787
    60
          at all possible.
yann@787
    61
yann@787
    62
config EGLIBC_CHECKOUT
yann@787
    63
    bool
yann@787
    64
    prompt "checkout instead of export"
yann@787
    65
    default y if EGLIBC_V_TRUNK
yann@787
    66
    default n if ! EGLIBC_V_TRUNK
yann@787
    67
    help
yann@787
    68
      By default, the eglibc download will be an export of the subversion
yann@787
    69
      repository. If you say 'y' here, then the repository will instead be
yann@787
    70
      checked-out, so that you can update it later.
yann@787
    71
      
yann@787
    72
      Note that crosstool-NG will *not* update your working copy, you will
yann@787
    73
      have to do that yourself.