aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George2017-08-24 13:09:35 +1000
committerDamien George2017-08-24 13:09:35 +1000
commit3e1412a1fb1a9c57858f67f01173ec8e966fdfe1 (patch)
treec0b5b11d58f24719737450abcc7199759a8e1661
parenta8052d343c133202590b3f6712a9267abee1f5c1 (diff)
stmhal/Makefile: Use GEN_PINS_HDR var instead of writing it explicitly.
-rw-r--r--stmhal/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/Makefile b/stmhal/Makefile
index 8bdb07b1e..667b8705d 100644
--- a/stmhal/Makefile
+++ b/stmhal/Makefile
@@ -426,7 +426,7 @@ SRC_QSTR_AUTO_DEPS += $(GEN_CDCINF_HEADER)
# any of the objects. The normal dependency generation will deal with the
# case when pins.h is modified. But when it doesn't exist, we don't know
# which source files might need it.
-$(OBJ): | $(HEADER_BUILD)/pins.h
+$(OBJ): | $(GEN_PINS_HDR)
# With conditional pins, we may need to regenerate qstrdefs.h when config
# options change.