diff options
author | Chris Packham <judge.packham@gmail.com> | 2020-12-14 08:44:00 (GMT) |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2021-02-01 08:13:17 (GMT) |
commit | 2340fa29125291b1db770616fcdc96a8ac1d103e (patch) | |
tree | c359586d557300af2281e18ae1846f72329eeda9 /maintainer/kconfig-menu.template | |
parent | 805fb9e1e028140d266e7ca5036bea9292545708 (diff) |
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>
Diffstat (limited to 'maintainer/kconfig-menu.template')
-rw-r--r-- | maintainer/kconfig-menu.template | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/maintainer/kconfig-menu.template b/maintainer/kconfig-menu.template index 4892435..1f5e7b2 100644 --- a/maintainer/kconfig-menu.template +++ b/maintainer/kconfig-menu.template @@ -8,7 +8,9 @@ menuconfig @@dir|@@_@@choice|@@ #!foreach dependency @@depline@@ #!end-foreach +#!if [ -n "@@*help@@" ] help +#!end-if #!foreach help @@helpline@@ #!end-foreach |