Skip to content

Commit 098f3e2

Browse files
committed
stmhal: Update Makefile dependencies.
1 parent 270dd29 commit 098f3e2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

stmhal/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,8 @@ $(OBJ): | $(HEADER_BUILD)/pins.h
372372
# options change.
373373
$(HEADER_BUILD)/qstrdefs.generated.h: boards/$(BOARD)/mpconfigboard.h
374374

375-
$(BUILD)/main.o: $(GEN_CDCINF_HEADER)
375+
# main.c can't be even preprocessed without $(GEN_CDCINF_HEADER)
376+
main.c: $(GEN_CDCINF_HEADER)
376377

377378
# Use a pattern rule here so that make will only call make-pins.py once to make
378379
# both pins_$(BOARD).c and pins.h

0 commit comments

Comments
 (0)