stmhal/Makefile: Use GEN_PINS_HDR var instead of writing it explicitly.

This commit is contained in:
Damien George 2017-08-24 13:09:35 +10:00
parent a8052d343c
commit 3e1412a1fb

View File

@ -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.