From 49dd9ba1a5e50c400a3cfd604dd884bf9fea628c Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 18 Jan 2021 13:52:47 +1100 Subject: [PATCH] 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 --- ports/stm32/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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