You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "wangchdo (via GitHub)" <gi...@apache.org> on 2025/12/01 12:22:14 UTC

[PR] cmake: Improve nuttx_generate_kconfig() [nuttx]

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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] cmake: Improve nuttx_generate_kconfig() [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #17412:
URL: https://github.com/apache/nuttx/pull/17412


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org