config/tools/libelf.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Sep 08 22:42:48 2009 +0200 (2009-09-08)
changeset 1524 1031ea5af395
parent 977 34a6d63fd7ab
child 1534 d4ddf19a1968
permissions -rw-r--r--
kconfig: allow stdin/stdout redirection

Allow stdin/stdout redirection for the CLI conf (not mconf).
This allows to recall a sample and automatically apply the defaults
to new configuration option, with something like the following:
yes "" |ct-ng "sample_name"
     1 # libelf config file
     2 
     3 config TOOL_libelf
     4     help
     5       libelf lets you read, modify or create ELF files in an
     6       architecture-independent way.
     7 
     8 choice
     9     bool
    10     prompt "libelf version"
    11 
    12 config LIBELF_V_0_8_10
    13     bool
    14     prompt "0.8.10"
    15 
    16 config LIBELF_V_0_8_11
    17     bool
    18     prompt "0.8.11"
    19 
    20 # CT_INSERT_VERSION_ABOVE
    21 # Don't remove above line!
    22 endchoice
    23 
    24 config LIBELF_VERSION
    25     string
    26     default "0.8.10" if LIBELF_V_0_8_10
    27     default "0.8.11" if LIBELF_V_0_8_11
    28 # CT_INSERT_VERSION_STRING_ABOVE
    29 # Don't remove above line!