mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
During the Toybox port to NuttX, Claude noticed that changes in the menuconfig weren't taking affect. This issue exists for a long time on NuttX, in fact BayLibre's presentation from 2017 make jokes about our building system not been reliable: https://www.youtube.com/watch?v=XUJK2htXxKw&t=320s Stale archive members from $(AR)'s additive-only behavior can linger after Kconfig toggles change which files provide a symbol, causing dead weight or "multiple definition" link errors on incremental builds. Fixed by splitting ARCHIVE into two macros: ARCHIVE keeps the original additive behavior for apps/libapps.a, which many independent subdirectories contribute to across a build, while the new ARCHIVE_REBUILD deletes then archives for the far more common case of a single Makefile building its own self-contained $(OBJS) - all 39 such call sites now use it. Assisted-By: Claude Sonnet 5 Signed-off-by: Alan C. Assis <acassis@gmail.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| lib_avg.c | ||
| lib_foc.c | ||
| lib_foc_b16.c | ||
| lib_matrix.c | ||
| lib_misc.c | ||
| lib_misc_b16.c | ||
| lib_motor.c | ||
| lib_motor_b16.c | ||
| lib_observer.c | ||
| lib_observer_b16.c | ||
| lib_pid.c | ||
| lib_pid_b16.c | ||
| lib_pmsm_model.c | ||
| lib_pmsm_model_b16.c | ||
| lib_svm.c | ||
| lib_svm_b16.c | ||
| lib_transform.c | ||
| lib_transform_b16.c | ||
| Makefile | ||