mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
mcuboot.mk: make mcuboot targets depend on clean.
When doing `make -j clean all' the directories can be cleaned after files are made. To ensure files are created after clean, those targets are made conditionally dependent on the clean target. This copies the handling done in Makefile.include.
This commit is contained in:
parent
d8cfe1f470
commit
46da35ecff
@ -12,6 +12,8 @@ MCUBOOT_BIN_MD5 ?= 0c71a0589bd3709fc2d90f07a0035ce7
|
||||
|
||||
export IMAGE_HDR_SIZE ?= 512
|
||||
|
||||
$(MCUBOOT_KEYFILE) $(MCUBOOT_BIN): $(filter clean, $(MAKECMDGOALS))
|
||||
|
||||
mcuboot-create-key: $(MCUBOOT_KEYFILE)
|
||||
|
||||
ifeq ($(BINDIR)/key.pem,$(MCUBOOT_KEYFILE))
|
||||
|
Loading…
Reference in New Issue
Block a user