config/companion_libs/ppl.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 1324 48c12c696778
child 1535 073d351bdcd3
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"
yann@1324
     1
# PPL options
yann@1324
     2
yann@1324
     3
choice
yann@1324
     4
    bool
yann@1324
     5
    prompt "PPL version"
yann@1324
     6
yann@1324
     7
config PPL_V_0_10_2
yann@1324
     8
    bool
yann@1324
     9
    prompt "0.10.2"
yann@1324
    10
yann@1324
    11
# CT_INSERT_VERSION_ABOVE
yann@1324
    12
# Don't remove above line!
yann@1324
    13
endchoice
yann@1324
    14
yann@1324
    15
config PPL_VERSION
yann@1324
    16
    string
yann@1324
    17
    default "0.10.2" if PPL_V_0_10_2
yann@1324
    18
# CT_INSERT_VERSION_STRING_ABOVE
yann@1324
    19
# Don't remove above line!