Commit c1e7802
committed
cmake/nuttx_kconfig: Don't perform replace on empty string
In Kconfig, it is valid for configuration variables to have no value.
However, the replace logic in this cmake file will throw an error that
at least four arguments are required if 'Value' is empty. This commit
avoids performing the replacement logic if 'Value' is empty to prevent
an error on valid, empty configuration variables.
Signed-off-by: Matteo Golin <matteo.golin@gmail.com>1 parent e10bfca commit c1e7802
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
0 commit comments