diff options
| author | David Lechner <david@pybricks.com> | 2023-05-09 09:32:14 -0500 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-05-11 14:34:01 +1000 |
| commit | 6836acf3dc6b9301693b1cf8875240aee04360ff (patch) | |
| tree | 28786c98042b7e1eebd5f45eb020af5d972ffa34 | |
| parent | 3e64d76122b8adf33d59b0d9858beb38f8e7d87c (diff) | |
unix/Makefile: Allow variants to add QSTR_DEFS.
This modifies the unix 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/unix/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/unix/Makefile b/ports/unix/Makefile index d2af8b087..0ff2e4b6e 100644 --- a/ports/unix/Makefile +++ b/ports/unix/Makefile @@ -27,8 +27,8 @@ FROZEN_MANIFEST ?= variants/manifest.py PROG ?= micropython # qstr definitions (must come before including py.mk) -QSTR_DEFS = qstrdefsport.h -QSTR_GLOBAL_DEPENDENCIES = $(VARIANT_DIR)/mpconfigvariant.h +QSTR_DEFS += qstrdefsport.h +QSTR_GLOBAL_DEPENDENCIES += $(VARIANT_DIR)/mpconfigvariant.h # OS name, for simple autoconfig UNAME_S := $(shell uname -s) |
