From 6a4a9bc147f3a9dfeb8d603a6c137b63c1bf2cf0 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Tue, 9 May 2023 09:34:20 -0500 Subject: [PATCH] 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 --- ports/windows/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/windows/Makefile b/ports/windows/Makefile index 489ba15c6..7753fa25d 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