8000 Handle emitnative.c which is #included into other .c files. · sparkfun/circuitpython@f6d1b63 · GitHub
[go: up one dir, main page]

Skip to content

Commit f6d1b63

Browse files
committed
Handle emitnative.c which is #included into other .c files.
1 parent 8cf03d2 commit f6d1b63

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

py/py.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,10 @@ endif
278278

279279
# Sources that may contain qstrings
280280
SRC_QSTR_IGNORE = py/nlr%
281+
SRC_QSTR_EMITNATIVE = py/emitn%
281282
SRC_QSTR = $(SRC_MOD) $(filter-out $(SRC_QSTR_IGNORE),$(PY_CORE_O_BASENAME:.o=.c)) $(PY_EXTMOD_O_BASENAME:.o=.c)
282283
# Sources that only hold QSTRs after pre-processing.
283-
SRC_QSTR_PP =
284+
SRC_QSTR_PP = $(addprefix $(TOP)/, $(filter $(SRC_QSTR_EMITNATIVE),$(PY_CORE_O_BASENAME:.o=.c)))
284285

285286
# Anything that depends on FORCE will be considered out-of-date
286287
FORCE:

0 commit comments

Comments
 (0)
0