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>
pull/11388/head
David Lechner 2023-05-09 09:34:20 -05:00 zatwierdzone przez Damien George
rodzic 6836acf3dc
commit 6a4a9bc147
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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