mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-24 06:56:40 +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
|
#!foreach dependency
|
||||||
@@depline@@
|
@@depline@@
|
||||||
#!end-foreach
|
#!end-foreach
|
||||||
|
#!if [ -n "@@*help@@" ]
|
||||||
help
|
help
|
||||||
|
#!end-if
|
||||||
#!foreach help
|
#!foreach help
|
||||||
@@helpline@@
|
@@helpline@@
|
||||||
#!end-foreach
|
#!end-foreach
|
||||||
|
@ -8,7 +8,9 @@ menuconfig @@dir|@@_@@choice|@@
|
|||||||
#!foreach dependency
|
#!foreach dependency
|
||||||
@@depline@@
|
@@depline@@
|
||||||
#!end-foreach
|
#!end-foreach
|
||||||
|
#!if [ -n "@@*help@@" ]
|
||||||
help
|
help
|
||||||
|
#!end-if
|
||||||
#!foreach help
|
#!foreach help
|
||||||
@@helpline@@
|
@@helpline@@
|
||||||
#!end-foreach
|
#!end-foreach
|
||||||
|
Loading…
Reference in New Issue
Block a user