raiden00pl commented on PR #11416:
URL: https://github.com/apache/nuttx/pull/11416#issuecomment-1861240312

   Maybe we can introduce another command other than `savedefconfig` and add 
another target:
   
   ```
   +add_custom_target(
   +  refresh
   +  COMMAND ${CMAKE_COMMAND} -E copy_if_different 
${CMAKE_BINARY_DIR}/defconfig
   +  ${NUTTX_DEFCONFIG}
   +)
   +
   +add_dependencies(refresh savedefconfig)
   ```
   
   but I'm not sure what name we could choose. refresh ? savedefconfig2 ? then 
anyone who wants to overwrite the default defconfig can use a dedicated command 
for this.
   


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