Commit 4651c438 authored by Sven Wegener's avatar Sven Wegener Committed by Damien George
Browse files

stmhal: add order-only dependency on build directory

Signed-off-by: default avatarSven Wegener <>
parent de2a2e29
......@@ -336,15 +336,15 @@ CMSIS_MCU_HDR = cmsis/devinc/$(CMSIS_MCU_LOWER).h
$(BUILD)/modstm.o: $(GEN_STMCONST_HDR)
# Use a pattern rule here so that make will only call once to
# make both modstm_const.h and modstm_qstr.h
$(HEADER_BUILD)/%_const.h $(BUILD)/%_qstr.h: $(CMSIS_MCU_HDR)
$(HEADER_BUILD)/%_const.h $(BUILD)/%_qstr.h: $(CMSIS_MCU_HDR) | $(HEADER_BUILD)
$(ECHO) "Create stmconst $@"
$(ECHO) "Create $@"
$(Q)$(PYTHON) $(FILE2H) $< > $@
$(ECHO) "Create $@"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment