aboutsummaryrefslogtreecommitdiff
path: root/py/py.mk
diff options
context:
space:
mode:
authorDamien George2018-06-09 15:23:13 +1000
committerDamien George2018-06-12 13:53:43 +1000
commit7ad04d17dabd503b0a79426166bcdc9e8ea4bf91 (patch)
tree93a6c3f2e84d407eeb1a6e31b174cf0cb1bbe89a /py/py.mk
parent0501427907283a29cf61bf5fba3ab17ac81b89df (diff)
py/mkrules.mk: Regenerate all qstrs when config files change.
A port can define QSTR_GLOBAL_DEPENDENCIES to add extra files.
Diffstat (limited to 'py/py.mk')
-rw-r--r--py/py.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/py.mk b/py/py.mk
index f4b62a88a..0027fbb88 100644
--- a/py/py.mk
+++ b/py/py.mk
@@ -13,6 +13,9 @@ ifneq ($(QSTR_AUTOGEN_DISABLE),1)
QSTR_DEFS_COLLECTED = $(HEADER_BUILD)/qstrdefs.collected.h
endif
+# Any files listed by this variable will cause a full regeneration of qstrs
+QSTR_GLOBAL_DEPENDENCIES += $(PY_SRC)/mpconfig.h mpconfigport.h
+
# some code is performance bottleneck and compiled with other optimization options
CSUPEROPT = -O3