no1wudi opened a new pull request, #15961: URL: https://github.com/apache/nuttx/pull/15961
## Summary Introduce the 'olddefconfig' target to streamline the process of updating the configuration file while ensuring dependencies are met. * Add 'olddefconfig' utility target to CMake build system * Updates .config with minimal changes to satisfy dependencies * Invalidates outdated config.h and triggers reconfiguration * Aligns CMake targets with existing Makefile behavior ## Impact * New feature added?: YES - Adds 'olddefconfig' target for config management * Impact on user?: YES - Users gain a tool to efficiently update configurations * Impact on build?: YES - New target integrated into CMake build flow * Impact on hardware?: NO * Impact on documentation?: NO * Impact on security?: NO * Impact on compatibility?: NO - Enhances parity with Makefile without breaking changes ## Testing cd cmake/build/dir ``` nx➜ build git:(main) ✗ kconfig-tweak --enable CONFIG_FRAME_POINTER nx➜ build git:(main) ✗ make olddefconfig -- Configuring done (0.3s) -- Generating done (0.6s) -- Build files have been written to: /home/huang/Work/nuttx-crates-index/build Loaded configuration '/home/huang/Work/nuttx-crates-index/build/.config' No change to configuration in '/home/huang/Work/nuttx-crates-index/build/.config' Built target olddefconfig ``` -- 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