summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Lechner <david@pybricks.com>2023-05-09 09:34:20 -0500
committerDamien George <damien@micropython.org>2023-05-11 14:34:15 +1000
commit6a4a9bc147f3a9dfeb8d603a6c137b63c1bf2cf0 (patch)
treea4f65eb7c5dc9e0a616e6fcd15ca96e9d73ecd64
parent6836acf3dc6b9301693b1cf8875240aee04360ff (diff)
downloadmicropython-6a4a9bc147f3a9dfeb8d603a6c137b63c1bf2cf0.tar.gz
micropython-6a4a9bc147f3a9dfeb8d603a6c137b63c1bf2cf0.zip
windows/Makefile: Allow variants to add QSTR_DEFS.
This modifies the windows port Makefile to use += for QSTR_DEFS and QSTR_GLOBAL_DEPENDENCIES so that variants can add additional files if needed (similar to stm32 port). Signed-off-by: David Lechner <david@pybricks.com>
-rw-r--r--ports/windows/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/windows/Makefile b/ports/windows/Makefile
index 489ba15c64..7753fa25d4 100644
--- a/ports/windows/Makefile
+++ b/ports/windows/Makefile
@@ -26,8 +26,8 @@ FROZEN_MANIFEST ?= variants/manifest.py
PROG ?= micropython
# qstr definitions (must come before including py.mk)
-QSTR_DEFS = ../unix/qstrdefsport.h
-QSTR_GLOBAL_DEPENDENCIES = $(VARIANT_DIR)/mpconfigvariant.h
+QSTR_DEFS += ../unix/qstrdefsport.h
+QSTR_GLOBAL_DEPENDENCIES += $(VARIANT_DIR)/mpconfigvariant.h
# include py core make definitions
include $(TOP)/py/py.mk