Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
4651c438
Commit
4651c438
authored
Nov 16, 2015
by
Sven Wegener
Committed by
Damien George
Dec 10, 2015
Browse files
stmhal: add order-only dependency on build directory
Signed-off-by:
Sven Wegener
<
sven.wegener@stealer.net
>
parent
de2a2e29
Changes
1
Hide whitespace changes
Inline
Side-by-side
stmhal/Makefile
View file @
4651c438
...
...
@@ -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 make-stmconst.py once to
# make both modstm_const.h and modstm_qstr.h
$(HEADER_BUILD)/%_const.h $(BUILD)/%_qstr.h
:
$(CMSIS_MCU_HDR) make-stmconst.py
$(HEADER_BUILD)/%_const.h $(BUILD)/%_qstr.h
:
$(CMSIS_MCU_HDR) make-stmconst.py
| $(HEADER_BUILD)
$(ECHO)
"Create stmconst
$@
"
$(Q)$(PYTHON)
make-stmconst.py
--qstr
$(GEN_STMCONST_QSTR)
$(CMSIS_MCU_HDR)
>
$(GEN_STMCONST_HDR)
$(GEN_CDCINF_HEADER)
:
$(GEN_CDCINF_FILE) $(FILE2H)
$(GEN_CDCINF_HEADER)
:
$(GEN_CDCINF_FILE) $(FILE2H)
| $(HEADER_BUILD)
$(ECHO)
"Create
$@
"
$(Q)$(PYTHON)
$(FILE2H)
$<
>
$@
$(GEN_CDCINF_FILE)
:
$(CDCINF_TEMPLATE) $(INSERT_USB_IDS) $(USB_IDS_FILE)
$(GEN_CDCINF_FILE)
:
$(CDCINF_TEMPLATE) $(INSERT_USB_IDS) $(USB_IDS_FILE)
| $(HEADER_BUILD)
$(ECHO)
"Create
$@
"
$(Q)$(PYTHON)
$(INSERT_USB_IDS)
$(USB_IDS_FILE)
$<
>
$@
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment