xuxin930 commented on PR #14756:
URL: https://github.com/apache/nuttx/pull/14756#issuecomment-2482177921

   > Will this pull request cause Kconfig to be generated for all directories 
containing CMakeLists.txt/Makefile? In fact, makefile base does not support 
nested recursion. If multiple levels of directories are required, developers 
need to add nested logic to the subdirectories. This is mainly to avoid 
searching for Makefile/CMakeLists.txt files that are not related to nuttx. You 
can try Makefile base and then evaluate the benefits of this change.
   
   hi @anchao In my testing, this does not cause the unnecessary directories 
you are worried about to be added.
   This is because, if you add directories recursively, there is a prerequisite 
that `MENUDESC` has been generated in the `CMAKE_BINARY` directory.
   This means that the inner layer must be entered through the outer layer 
calling `nuttx_generate_kconfig`, that is, it must be entered by nuttx's code.


-- 
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-unsubscr...@nuttx.apache.org

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

Reply via email to