ThePassionate opened a new pull request, #3386: URL: https://github.com/apache/nuttx-apps/pull/3386
### Summary This PR adds a default `preconfig` target to `Application.mk`. This ensures that the `make preconfig` command (used to generate/update `apps/Kconfig` and sub-Kconfigs) can execute successfully across all subdirectories, even those that do not manage their own `Kconfig` files (e.g., `modbus`, `nshlib`). ### Impact This fix improves the robustness of the NuttX build system, specifically for environment reconfiguration scenarios. Without this fix, users cannot easily regenerate stale Kconfig files if their directory structure changes, as the recursive make process is blocked by subdirectories missing the `preconfig` target. ### Testing - **Scenario**: Moved the `apps` and `nuttx` directories to a new parent location, invalidating existing Kconfig absolute/relative paths. - **Before Fix**: Running `make preconfig TOPDIR=...` in `apps/` failed with: `make[1]: Entering directory '/path/to/apps/modbus' make[1]: *** No rule to make target 'preconfig'. Stop.` - **After Fix**: `make preconfig` completes successfully. The `apps/Kconfig` is correctly regenerated with valid absolute paths, restoring build functionality. -- 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]
