diff options
author | Jim Mussared <jim.mussared@gmail.com> | 2020-03-04 16:34:27 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-04-05 14:12:59 +1000 |
commit | 994c1dd57a6faae06b53ea5082ace6e5ee956141 (patch) | |
tree | c0a1c29dac94ba9942c51caaaf1159fbf1b19353 | |
parent | a9a745e4b4838749a47857f1d0c95de52dc85f58 (diff) | |
download | micropython-994c1dd57a6faae06b53ea5082ace6e5ee956141.tar.gz micropython-994c1dd57a6faae06b53ea5082ace6e5ee956141.zip |
stm32/Makefile: Add missing ordering dependency on generated headers.
-rw-r--r-- | ports/stm32/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ports/stm32/Makefile b/ports/stm32/Makefile index 31d75f3fbe..7d372f4ae1 100644 --- a/ports/stm32/Makefile +++ b/ports/stm32/Makefile @@ -14,9 +14,12 @@ include ../../py/mkenv.mk -include mpconfigport.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_DEFS = qstrdefsport.h $(BUILD)/pins_qstr.h $(BUILD)/modstm_qstr.h -QSTR_GLOBAL_DEPENDENCIES = mpconfigboard_common.h $(BOARD_DIR)/mpconfigboard.h +QSTR_DEFS = qstrdefsport.h $(QSTR_GENERATED_HEADERS) +QSTR_GLOBAL_DEPENDENCIES = mpconfigboard_common.h $(BOARD_DIR)/mpconfigboard.h $(QSTR_GENERATED_HEADERS) # File containing description of content to be frozen into firmware. FROZEN_MANIFEST ?= boards/manifest.py |