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
|
# 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
|
# case when pins.h is modified. But when it doesn't exist, we don't know
|
||||||
# which source files might need it.
|
# 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
|
# With conditional pins, we may need to regenerate qstrdefs.h when config
|
||||||
# options change.
|
# options change.
|
||||||
|
|
Loading…
Reference in New Issue