Skip to content

Commit 1c6ea8d

Browse files
committed
Minor fix to Makefile to ensure config changes are effective
1 parent 92d0478 commit 1c6ea8d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ wolfboot.hex: wolfboot.elf
117117

118118
align: wolfboot-align.bin
119119

120-
.bootloader-partition-size:
120+
.bootloader-partition-size: FORCE
121121
@printf "%d" $(WOLFBOOT_PARTITION_BOOT_ADDRESS) > .wolfboot-offset
122122
@printf "%d" $(ARCH_FLASH_OFFSET) > .wolfboot-arch-offset
123123
@expr `cat .wolfboot-offset` - `cat .wolfboot-arch-offset` > .bootloader-partition-size
@@ -150,7 +150,7 @@ factory.bin: $(BOOT_IMG) wolfboot-align.bin $(PRIVATE_KEY)
150150
@echo "\t[MERGE] $@"
151151
@cat wolfboot-align.bin test-app/image_v1_signed.bin > $@
152152

153-
wolfboot.elf: include/target.h $(OBJS) $(LSCRIPT)
153+
wolfboot.elf: include/target.h $(OBJS) $(LSCRIPT) FORCE
154154
@echo "\t[LD] $@"
155155
$(Q)$(LD) $(LDFLAGS) -Wl,--start-group $(OBJS) -Wl,--end-group -o $@
156156

0 commit comments

Comments
 (0)