1
0
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:
Gaëtan Harter 2019-03-01 17:34:30 +01:00
parent ecfdece104
commit 240e4a3fe2
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -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