stm32/Makefile: Add missing ordering dependency on generated headers.

This commit is contained in:
Jim Mussared 2020-03-04 16:34:27 +11:00 committed by Damien George
parent a9a745e4b4
commit 994c1dd57a

View File

@ -14,9 +14,12 @@ include ../../py/mkenv.mk
-include mpconfigport.mk -include mpconfigport.mk
include $(BOARD_DIR)/mpconfigboard.mk include $(BOARD_DIR)/mpconfigboard.mk
# Files that are generated and needed before the QSTR build.
QSTR_GENERATED_HEADERS = $(BUILD)/pins_qstr.h $(BUILD)/modstm_qstr.h
# qstr definitions (must come before including py.mk) # qstr definitions (must come before including py.mk)
QSTR_DEFS = qstrdefsport.h $(BUILD)/pins_qstr.h $(BUILD)/modstm_qstr.h QSTR_DEFS = qstrdefsport.h $(QSTR_GENERATED_HEADERS)
QSTR_GLOBAL_DEPENDENCIES = mpconfigboard_common.h $(BOARD_DIR)/mpconfigboard.h QSTR_GLOBAL_DEPENDENCIES = mpconfigboard_common.h $(BOARD_DIR)/mpconfigboard.h $(QSTR_GENERATED_HEADERS)
# File containing description of content to be frozen into firmware. # File containing description of content to be frozen into firmware.
FROZEN_MANIFEST ?= boards/manifest.py FROZEN_MANIFEST ?= boards/manifest.py