mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefiles/suit: avoid unwanted key creation trigger
This fixes a trigger of re-creation of an already existing SUIT key when combining a build target with the clean target, e.g. `make clean all`.
This commit is contained in:
parent
5225c58736
commit
363cf8c546
@ -30,7 +30,7 @@ SUIT_PUB_HDR_DIR = $(dir $(SUIT_PUB_HDR))
|
||||
CFLAGS += -I$(SUIT_PUB_HDR_DIR)
|
||||
BUILDDEPS += $(SUIT_PUB_HDR)
|
||||
|
||||
$(SUIT_SEC): $(CLEAN)
|
||||
$(SUIT_SEC): | $(CLEAN)
|
||||
$(Q)echo suit: generating key in $(SUIT_KEY_DIR)
|
||||
$(Q)mkdir -p $(SUIT_KEY_DIR)
|
||||
$(Q)$(RIOTBASE)/dist/tools/suit/gen_key.py $(SUIT_SEC) $(SUIT_SEC_PASSWORD)
|
||||
|
Loading…
Reference in New Issue
Block a user