diff options
author | Damien George <damien@micropython.org> | 2021-03-17 10:25:16 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-03-17 10:25:16 +1100 |
commit | 6e5aea08a9916c5acc6893e4829bba25fbab32ba (patch) | |
tree | 3760c7f85d5265d4e4a823981788632fc863be42 | |
parent | cb68a5741aba5d4935428674234a9d643f97405f (diff) | |
download | micropython-6e5aea08a9916c5acc6893e4829bba25fbab32ba.tar.gz micropython-6e5aea08a9916c5acc6893e4829bba25fbab32ba.zip |
stm32/Makefile: Allow QSTR_DEFS,QSTR_GLOBAL_DEPENDENCIES to be extended.
So a board can provide custom qstr definitions if needed.
Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r-- | ports/stm32/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/stm32/Makefile b/ports/stm32/Makefile index 9a66d3c10b..6c71f27573 100644 --- a/ports/stm32/Makefile +++ b/ports/stm32/Makefile @@ -18,8 +18,8 @@ include $(BOARD_DIR)/mpconfigboard.mk QSTR_GENERATED_HEADERS = $(BUILD)/pins_qstr.h $(BUILD)/modstm_qstr.h # qstr definitions (must come before including py.mk) -QSTR_DEFS = qstrdefsport.h $(QSTR_GENERATED_HEADERS) -QSTR_GLOBAL_DEPENDENCIES = mpconfigboard_common.h $(BOARD_DIR)/mpconfigboard.h $(QSTR_GENERATED_HEADERS) +QSTR_DEFS += qstrdefsport.h $(QSTR_GENERATED_HEADERS) +QSTR_GLOBAL_DEPENDENCIES += mpconfigboard_common.h $(BOARD_DIR)/mpconfigboard.h $(QSTR_GENERATED_HEADERS) # MicroPython feature configurations MICROPY_ROM_TEXT_COMPRESSION ?= 1 |