crosstool-ng/maintainer/kconfig-choice.template
Chris Packham 2340fa2912 Don't generate empty help
Kconfig now complains when we have a help section with no text. If there
is nothing in @@help@@ don't output a `help` section.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-02-01 21:13:17 +13:00

58 lines
999 B
Plaintext

#
# DO NOT EDIT! This file is automatically generated.
#
choice GEN_CHOICE_@@dir|@@
bool "@@label@@"
#!foreach choice
config @@dir|@@_@@choice|@@
bool "@@choice@@"
#!foreach dependency
@@depline@@
#!end-foreach
#!if [ -n "@@*help@@" ]
help
#!end-if
#!foreach help
@@helpline@@
#!end-foreach
#!end-foreach
endchoice
config @@dir|@@
string
#!foreach choice
default "@@choice@@" if @@dir|@@_@@choice|@@
#!end-foreach
config @@dir|@@_CHOICE_KSYM
string
#!foreach choice
default "@@choice|@@" if @@dir|@@_@@choice|@@
#!end-foreach
#!foreach choice
config @@dir|@@_@@choice|@@_SHOW
bool
default y if @@dir|@@_@@choice|@@
if @@dir|@@_@@choice|@@_SHOW
comment "Options for @@choice@@"
config @@dir|@@_@@choice|@@_PKG_KSYM
string
default "@@pkg|@@"
#!if [ -n "@@pkg@@" ]
source "config/versions/@@pkg@@.in"
#!end-if
source "config/@@dir@@/@@choice@@.in"
endif
#!end-foreach
config ALL_@@dir|@@_CHOICES
string
default "@@*choice|@@"