config/tools/libelf.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 914 0b164a321177
child 975 c43713a3bf7e
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@916
     1
# EXPERIMENTAL
yann@245
     2
# libelf config file
yann@245
     3
yann@916
     4
config TOOL_libelf
yann@245
     5
    help
yann@245
     6
      libelf lets you read, modify or create ELF files in an
yann@245
     7
      architecture-independent way.
yann@245
     8
yann@245
     9
      libelf is BROKEN! If you manage to make it actually _work_,
yann@245
    10
      please be so kind as to tell me. (By working, I mean it is
yann@245
    11
      useable at least by ltrace.) Thank you!
yann@245
    12
yann@245
    13
choice
yann@245
    14
    bool
yann@245
    15
    prompt "libelf version"
yann@245
    16
yann@245
    17
config LIBELF_V_0_8_8
yann@245
    18
    bool
yann@330
    19
    prompt "0.8.8 (OBSOLETE)"
yann@245
    20
    depends on OBSOLETE
yann@245
    21
yann@245
    22
config LIBELF_V_0_8_9
yann@245
    23
    bool
yann@245
    24
    prompt "0.8.9"
yann@245
    25
yann@369
    26
config LIBELF_V_0_8_10
yann@369
    27
    bool
yann@369
    28
    prompt "0.8.10"
yann@369
    29
yann@245
    30
# CT_INSERT_VERSION_ABOVE
yann@245
    31
# Don't remove above line!
yann@245
    32
endchoice
yann@245
    33
yann@245
    34
config LIBELF_VERSION
yann@245
    35
    string
yann@245
    36
    default "0.8.8" if LIBELF_V_0_8_8
yann@245
    37
    default "0.8.9" if LIBELF_V_0_8_9
yann@369
    38
    default "0.8.10" if LIBELF_V_0_8_10
yann@245
    39
# CT_INSERT_VERSION_STRING_ABOVE
yann@245
    40
# Don't remove above line!