xuxin930 opened a new pull request, #14756:
URL: https://github.com/apache/nuttx/pull/14756
## Summary
the ${MENUCONFIG} file in the output directory is enough, as invoking
nuttx_generate_kconfig() will generate this file in the output directory.
Since we are collecting these files recursively,
the nuttx_generate_kconfig() function of the parent directory will be called
after all the subdirectories' nuttx_generate_kconfig() functions have been
invoked.
## Impact
This will correctly handle the situation where multiple directories need to
generate kconfig menus.
## Testing
creating a multi-level directory scenario
```
# apps/dir1/
nuttx_add_subdirectory()
nuttx_generate_kconfig(MENUDESC "Level1")
# apps/dir1/dir2
nuttx_add_subdirectory()
nuttx_generate_kconfig(MENUDESC "Level2")
```
```
cmake -B build -DBOARD_CONFIG=nrf52832-dk:mcuboot_app -GNinja
cmake --build build -t menuconfig
```
The test results are normal and enter the multi-level menu
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]