wangchdo opened a new pull request, #17412: URL: https://github.com/apache/nuttx/pull/17412
## Summary Enhance the nuttx_generate_kconfig() implementation to ensure that both subdirectories and external directories containing a CMakeLists.txt or a Kconfig file are properly included during Kconfig generation. ## Impact Improve Cmake build scripts, no impact to any existing nuttx functions ## Testing **Add the following test directories:** ``` nuttx-apps ├── test_dir_01 │ └── Kconfig ├── test_dir_02 │ ├── CMakeLists.txt │ └── test_dir_03 │ └── Kconfig ``` **After running CMake configuration, the generated` output/nuttx-apps/Kconfi`g contains:** ``` (...) source "/home/lixiang/repos/nuttxspace/nuttx-apps/test_dir_01/Kconfig" source "/home/lixiang/repos/nuttxspace/output/nuttx-apps/_home_lixiang_repos_nuttxspace_nuttx-apps_test_dir_02_Kconfig" ``` And the generated `_home_lixiang_repos_nuttxspace_nuttx-apps_test_dir_02_Kconfig` file includes: ``` menu "test_dir_02" source "/home/lixiang/repos/nuttxspace/nuttx-apps/test_dir_02/test_dir_03/Kconfig" endmenu # test_dir_02 ``` -- 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]
