mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefiles/riotboot.mk: slots only need to depend on BASELIBS
Using 'link' was working too but will introduce a circular dependency when FLASHFILE is one of the slot files. This trims down to the minimal required dependency to work. It is now the same as `ELFFILE` dependencies.
This commit is contained in:
parent
ecfdece104
commit
240e4a3fe2
@ -35,8 +35,7 @@ SLOT0_RIOT_BIN = $(BINDIR_APP)-slot0.riot.bin
|
||||
SLOT1_RIOT_BIN = $(BINDIR_APP)-slot1.riot.bin
|
||||
SLOT_RIOT_BINS = $(SLOT0_RIOT_BIN) $(SLOT1_RIOT_BIN)
|
||||
|
||||
# For slot generation only link is needed
|
||||
$(BINDIR_APP)-%.elf: link
|
||||
$(BINDIR_APP)-%.elf: $(BASELIBS)
|
||||
$(Q)$(_LINK) -o $@
|
||||
|
||||
# Slot 0 and 1 firmware offset, after header
|
||||
|
Loading…
Reference in New Issue
Block a user