summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-01-18 13:52:47 +1100
committerDamien George <damien@micropython.org>2021-01-18 13:53:54 +1100
commit49dd9ba1a5e50c400a3cfd604dd884bf9fea628c (patch)
tree4a7db461df053216d25916d82f848c67632594a7
parentde2374cdc6889401effba91287b0978a2a59089e (diff)
stm32/Makefile: Use MBOOT_PACK_KEYS_FILE as depedency of .pack.dfu.
To match the definition of GENERATE_PACK_DFU, so a board can customise the location/name of this file if needed. Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r--ports/stm32/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/Makefile b/ports/stm32/Makefile
index d8c9772b2..6e5fc1536 100644
--- a/ports/stm32/Makefile
+++ b/ports/stm32/Makefile
@@ -679,7 +679,7 @@ $(BUILD)/firmware.dfu: $(BUILD)/firmware0.bin $(BUILD)/firmware1.bin
$(call GENERATE_DFU,$@,$(word 1,$^),$(TEXT0_ADDR),$(word 2,$^),$(TEXT1_ADDR))
endif
-$(BUILD)/firmware.pack.dfu: $(BUILD)/firmware.dfu $(BOARD_DIR)/mboot_keys.h
+$(BUILD)/firmware.pack.dfu: $(BUILD)/firmware.dfu $(MBOOT_PACK_KEYS_FILE)
$(call GENERATE_PACK_DFU,$@,$<)
$(BUILD)/firmware.hex: $(BUILD)/firmware.elf