diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2022-10-08 23:59:08 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-10-11 23:31:49 +1100 |
| commit | d6d87225585a9494093d791c807bce652e4c82d8 (patch) | |
| tree | 170f66c7db37246575d927025e7d96daf29c05e3 /py/py.mk | |
| parent | 87011f63530f55411843622af8b1bc2dbf98a6f7 (diff) | |
extmod: Make extmod.mk self-contained.
This makes it so that all a port needs to do is set the relevant variables
and "include extmod.mk" and doesn't need to worry about adding anything to
OBJ, CFLAGS, SRC_QSTR, etc.
Make all extmod variables (src, flags, etc) private to extmod.mk.
Also move common/shared, extmod-related fragments (e.g. wiznet, cyw43,
bluetooth) into extmod.mk.
Now that SRC_MOD, CFLAGS_MOD, CXXFLAGS_MOD are unused by both extmod.mk
(and user-C-modules in a previous commit), remove all uses of them from
port makefiles.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'py/py.mk')
| -rw-r--r-- | py/py.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -207,7 +207,7 @@ endif # Sources that may contain qstrings SRC_QSTR_IGNORE = py/nlr% -SRC_QSTR += $(SRC_MOD) $(filter-out $(SRC_QSTR_IGNORE),$(PY_CORE_O_BASENAME:.o=.c)) +SRC_QSTR += $(filter-out $(SRC_QSTR_IGNORE),$(PY_CORE_O_BASENAME:.o=.c)) # Anything that depends on FORCE will be considered out-of-date FORCE: |
