mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-18 20:37:56 +00:00
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>
This commit is contained in:
parent
805fb9e1e0
commit
2340fa2912
@ -11,7 +11,9 @@ config @@dir|@@_@@choice|@@
|
||||
#!foreach dependency
|
||||
@@depline@@
|
||||
#!end-foreach
|
||||
#!if [ -n "@@*help@@" ]
|
||||
help
|
||||
#!end-if
|
||||
#!foreach help
|
||||
@@helpline@@
|
||||
#!end-foreach
|
||||
|
@ -8,7 +8,9 @@ menuconfig @@dir|@@_@@choice|@@
|
||||
#!foreach dependency
|
||||
@@depline@@
|
||||
#!end-foreach
|
||||
#!if [ -n "@@*help@@" ]
|
||||
help
|
||||
#!end-if
|
||||
#!foreach help
|
||||
@@helpline@@
|
||||
#!end-foreach
|
||||
|
Loading…
Reference in New Issue
Block a user