xuxin930 commented on code in PR #16891:
URL: https://github.com/apache/nuttx/pull/16891#discussion_r2293247836


##########
CMakeLists.txt:
##########
@@ -158,6 +160,11 @@ if(NOT EXISTS "${NUTTX_DEFCONFIG}")
   message(FATAL_ERROR "No config file found at ${NUTTX_DEFCONFIG}")
 endif()
 
+process_config(
+  ${CMAKE_BINARY_DIR}/.config.processed ${NUTTX_DEFCONFIG} INCLUDE_PATHS
+  ${NUTTX_BOARD_ABS_DIR}/../../common/configs ${NUTTX_BOARD_ABS_DIR}/../common
+  ${NUTTX_BOARD_ABS_DIR})
+

Review Comment:
   why need .processed file
   
   we can preprocess in your nuttx_process_config.cmake module?



-- 
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