Skip to content

Commit

Permalink
Merge pull request #10 from fedepell/ota_contrib_4
Browse files Browse the repository at this point in the history
makefiles/riotboot.mk: enforce rule precedence (first signed.bin over .bin) for gnu make
  • Loading branch information
cladmi authored Sep 24, 2018
2 parents c413e8c + 116dc23 commit 314a05f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makefiles/riotboot.mk
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ $(BINDIR)/$(APPLICATION)-slot1.elf: ROM_OFFSET=$(SLOT1_OFFSET)
$(BINDIR)/$(APPLICATION)-slot2.elf: ROM_OFFSET=$(SLOT2_OFFSET)

# create signed binary target
%.signed.bin: %.sig %.bin
$(BINDIR)/$(APPLICATION)-slot1.signed.bin $(BINDIR)/$(APPLICATION)-slot2.signed.bin: %.signed.bin: %.sig %.bin
@echo "creating $@..."
cat $^ > $@

Expand Down

0 comments on commit 314a05f

Please sign in to comment.