Handle emitnative.c which is #included into other .c files.
This commit is contained in:
parent
8cf03d2d00
commit
f6d1b63ecd
3
py/py.mk
3
py/py.mk
@ -278,9 +278,10 @@ endif
|
||||
|
||||
# Sources that may contain qstrings
|
||||
SRC_QSTR_IGNORE = py/nlr%
|
||||
SRC_QSTR_EMITNATIVE = py/emitn%
|
||||
SRC_QSTR = $(SRC_MOD) $(filter-out $(SRC_QSTR_IGNORE),$(PY_CORE_O_BASENAME:.o=.c)) $(PY_EXTMOD_O_BASENAME:.o=.c)
|
||||
# Sources that only hold QSTRs after pre-processing.
|
||||
SRC_QSTR_PP =
|
||||
SRC_QSTR_PP = $(addprefix $(TOP)/, $(filter $(SRC_QSTR_EMITNATIVE),$(PY_CORE_O_BASENAME:.o=.c)))
|
||||
|
||||
# Anything that depends on FORCE will be considered out-of-date
|
||||
FORCE:
|
||||
|
Loading…
Reference in New Issue
Block a user