nuttx/openamp
Alan Carvalho de Assis c027e7c3e4 tools: fix stale archive members surviving a Kconfig-driven CSRCS change
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>
2026-07-28 21:26:03 -03:00
..
.gitignore cmake:reuse OpenAMP own CMake script for CMake build 2024-06-26 00:22:03 +08:00
0001-libmetal-cmake-set-HAVE_STDATOMIC_H-default-true-in-.patch openamp/libmetal: change the libmetal mutex to rmutex to avoid carsh 2026-01-04 21:06:10 +08:00
0001-ns-acknowledge-the-received-creation-message.patch openamp: make the remoteproc virtio fit more virtio devices 2026-01-19 14:18:27 +08:00
0002-libmetal-atomic-enable-64-bit-atomic-by-toolchain-bu.patch openamp/libmetal: change the libmetal mutex to rmutex to avoid carsh 2026-01-04 21:06:10 +08:00
0002-Negotiate-individual-buffer-size-dynamically.patch openamp: make the remoteproc virtio fit more virtio devices 2026-01-19 14:18:27 +08:00
0003-mutex-change-the-libmetal-nuttx-mutex-to-recursive-m.patch openamp/libmetal: change the libmetal mutex to rmutex to avoid carsh 2026-01-04 21:06:10 +08:00
0003-rpmsg-notify-the-user-when-the-remote-address-is-rec.patch openamp: make the remoteproc virtio fit more virtio devices 2026-01-19 14:18:27 +08:00
0004-rpmsg-wait-ept-ready-in-rpmsg_send.patch openamp: make the remoteproc virtio fit more virtio devices 2026-01-19 14:18:27 +08:00
0005-openamp-add-VIRTIO_RING_F_MUST_NOTIFY-event.patch openamp: make the remoteproc virtio fit more virtio devices 2026-01-19 14:18:27 +08:00
0006-rpmsg_virtio-don-t-need-check-status-when-get_tx_pay.patch openamp: make the remoteproc virtio fit more virtio devices 2026-01-19 14:18:27 +08:00
0007-virtqueue-move-virtqueue_nused-and-virtqueue_navail-.patch openamp: make the remoteproc virtio fit more virtio devices 2026-01-19 14:18:27 +08:00
0008-lib-rpmsg-rpmsg_virtio-add-last-buffer-check-to-fix-.patch openamp: make the remoteproc virtio fit more virtio devices 2026-01-19 14:18:27 +08:00
0009-virtio-change-feature-to-64-bit-in-all-virtio_dispat.patch openamp: make the remoteproc virtio fit more virtio devices 2026-01-19 14:18:27 +08:00
0010-openamp-add-assert-when-get-tx-buffer-failed.patch openamp: make the remoteproc virtio fit more virtio devices 2026-01-19 14:18:27 +08:00
0011-remoteproc_virtio-add-shm_io-for-remoteproc-virtio-a.patch openamp: make the remoteproc virtio fit more virtio devices 2026-01-19 14:18:27 +08:00
0012-remoteproc-sync-the-virtio-rpmsg-config-with-linux-s.patch openamp: make the remoteproc virtio fit more virtio devices 2026-01-19 14:18:27 +08:00
0013-virtio.h-add-mm_priv-to-struct-virtio_deivce.patch openamp: add mm_priv to struct virtio_device 2026-01-19 14:18:27 +08:00
0014-lib-rpmsg_virtio-use-virtio_alloc_buf-to-alloc-share.patch openamp: rpmsg virtio use virtio_alloc_buf to alloc share memory 2026-01-19 14:18:27 +08:00
0015-lib-remoteproc_virtio-optimize-virtqueue_notificatio.patch openamp: optimize virtqueue_notification() called condition 2026-01-19 14:18:27 +08:00
0016-lib-rpmsg_virtio-support-release-the-name-service-me.patch openamp/lib/rpmsg_virtio: release the name service messsage 2026-01-29 09:26:50 -03:00
0017-lib-virtio-virtqueue-change-the-virtqueue-dump-log-l.patch openamp/virtqueue: change the virtqueue dump log level to emergency 2026-01-30 07:50:11 -03:00
0018-lib-rpmsg-add-priority-support-for-rpmsg-endpoint.patch lib/rpmsg: add priority support for rpmsg endpoint 2026-01-30 07:50:11 -03:00
0019-rpmsg-Add-VIRTIO_RPMSG_F_BUFADDR-to-support-specify-.patch openamp: add patch for VIRTIO_RPMSG_F_BUFADDR buffer address support 2026-03-05 12:39:13 +08:00
CMakeLists.txt openamp: update openamp and libmetal to last release version 2025-12-31 02:36:29 +08:00
Kconfig openamp: replace VIRTIO_DRIVER/DEVICE_ONLY to VIRTIO_DRIVER/DEVICE_SUPPORT 2024-10-09 23:32:58 +08:00
libmetal.cmake openamp/libmetal: change the libmetal mutex to rmutex to avoid carsh 2026-01-04 21:06:10 +08:00
libmetal.defs openamp: Fix Make style 2026-03-23 18:16:46 -04:00
Makefile tools: fix stale archive members surviving a Kconfig-driven CSRCS change 2026-07-28 21:26:03 -03:00
open-amp.cmake openamp: fix CMake dcache option 2026-05-10 15:03:24 +02:00
open-amp.defs openamp: add patch for VIRTIO_RPMSG_F_BUFADDR buffer address support 2026-03-05 12:39:13 +08:00