stmhal/Makefile: Use GEN_PINS_HDR var instead of writing it explicitly.
This commit is contained in:
parent
a8052d343c
commit
3e1412a1fb
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user