diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2018-08-01 12:16:36 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2018-08-02 00:51:53 -0700 |
| commit | f6d1b63ecde084dbe44d354ae9a69b1f915a40dc (patch) | |
| tree | 6febc41e6fc747f3d2d9934329ab80d863972fd7 /py/py.mk | |
| parent | 8cf03d2d009141916a7b32b30ec74f8289734f4b (diff) | |
Handle emitnative.c which is #included into other .c files.
Diffstat (limited to 'py/py.mk')
| -rw-r--r-- | py/py.mk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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: |
