Skip to content

Commit

Permalink
makefiles/boot/riotboot.mk: exclude riotboot application
Browse files Browse the repository at this point in the history
- riotboot targets should not be needed for riotboot application
  so dont include it.
- also fixes #12003 by not setting FLASHFILE = $(RIOTBOOT_EXTENDED_BIN)
  when compiling riotboot application
  • Loading branch information
fjmolinas committed Sep 26, 2019
1 parent e942f86 commit a8c3861
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions makefiles/boot/riotboot.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ifneq (,$(filter riotboot,$(FEATURES_USED)))
ifeq (,$(filter riotboot,$(APPLICATION)))

.PHONY: riotboot/flash riotboot/flash-bootloader riotboot/flash-slot0 riotboot/flash-slot1 riotboot/bootloader/%

Expand Down Expand Up @@ -155,4 +156,5 @@ riotboot:
$(Q)echo "error: riotboot feature not selected! (try FEATURES_REQUIRED += riotboot)"
$(Q)false

endif # (,$(filter riotboot,$(APPLICATION)))
endif # (,$(filter riotboot,$(FEATURES_USED)))

0 comments on commit a8c3861

Please sign in to comment.