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>
pull/6767/head
Damien George 2021-01-18 13:52:47 +11:00
rodzic de2374cdc6
commit 49dd9ba1a5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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