From bf571ad7b2ea378147beeabf2fd5be72d43b007b Mon Sep 17 00:00:00 2001 From: chrysn Date: Mon, 22 Mar 2021 20:43:41 +0100 Subject: [PATCH] riotboot: Build ARCHIVES Like /Makefile.include builds ARCHIVES before ELFFILES. --- makefiles/boot/riotboot.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefiles/boot/riotboot.mk b/makefiles/boot/riotboot.mk index 9f68aa2eea..46c60ca615 100644 --- a/makefiles/boot/riotboot.mk +++ b/makefiles/boot/riotboot.mk @@ -28,7 +28,7 @@ SLOT_RIOT_BINS = $(SLOT0_RIOT_BIN) $(SLOT1_RIOT_BIN) # This results in the equivalent to "make flash-only" for # "make riotboot/flash-slot[01]". ifneq (1, $(RIOTBOOT_SKIP_COMPILE)) -$(BINDIR_APP)-%.elf: $(BASELIBS) +$(BINDIR_APP)-%.elf: $(BASELIBS) $(ARCHIVES) $(Q)$(_LINK) -o $@ endif