1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 10:52:44 +01:00

make: riotboot: add $APP_VER to image file names

This commit is contained in:
Kaspar Schleiser 2019-03-19 13:58:59 +01:00
parent 4546469e7b
commit b4557eae16

View File

@ -22,8 +22,8 @@ else
endif
# Final target for slot 0 with riot_hdr
SLOT0_RIOT_BIN = $(BINDIR_APP)-slot0.riot.bin
SLOT1_RIOT_BIN = $(BINDIR_APP)-slot1.riot.bin
SLOT0_RIOT_BIN = $(BINDIR_APP)-slot0.$(APP_VER).riot.bin
SLOT1_RIOT_BIN = $(BINDIR_APP)-slot1.$(APP_VER).riot.bin
SLOT_RIOT_BINS = $(SLOT0_RIOT_BIN) $(SLOT1_RIOT_BIN)
# if RIOTBOOT_SKIP_COMPILE is set to 1, "make riotboot/slot[01](-flash)"
@ -54,7 +54,7 @@ link: $(SLOT_RIOT_ELFS)
endif
# Create binary target with RIOT header
$(SLOT_RIOT_BINS): %.riot.bin: %.hdr %.bin
$(SLOT_RIOT_BINS): %.$(APP_VER).riot.bin: %.hdr %.bin
@echo "creating $@..."
$(Q)cat $^ > $@