arch/risc-v/src/eic7700x/Kconfig: fix broken kconfig-frontends parsing - #20092
Conversation
kconfig-frontends package needs newline at the end of Kconfig file, otherwise the parsing fails. Signed-off-by: Michal Lenc <michallenc@seznam.cz>
|
We should check this in CI somewhere, this is the second exactly same issue in relatively short time (see #19142). |
We can add @@ -18,9 +18,10 @@ indent_brace_style = GNU
indent_style = tab
[Make.defs]
indent_style = tab
[Kconfig]
indent_style = tab
+insert_final_newline = true
[*.sh]
indent_style = tab
max_line_length = 80Anyone experienced with how to add new linter to NuttX CI? |
I think we need to test if this .editconfig will work with default kconfig-frontend and kconfig-lib (since we support both). Hey @simbit18 do you have some suggestions here? |
Summary
kconfig-frontendspackage needs newline at the end of Kconfig file, otherwise the parsing fails.Impact
Fixes broken NuttX build for any board if
kconfig-frontendsis used introduced in 1686bb6Testing
./tools/configure.sh samv71-xult:nshresults with prior to the change:It configures and builds fine after the fix.