xuxin930 commented on code in PR #3493: URL: https://github.com/apache/nuttx-apps/pull/3493#discussion_r3286252240
########## builtin/CMakeLists.txt: ########## @@ -21,6 +21,12 @@ # ############################################################################## if(CONFIG_BUILTIN) + # Out-of-tree builds generate these headers in the binary directory. Remove + # stale in-source copies to avoid accidental inclusion. + if(NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR) Review Comment: In the `nuttx/main CMakeLists` generator phase, it actively checks for any remnants of `make` artifacts. If any remnants of a previous `make.config` file are found, a fatal error will occur. So, the assumption here is that only a portion of `make distclean` is cleaned up? In that case, the problem to solve should be to perform a complete `distclean`. -- 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]
