summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-06-19 01:29:41 +1000
committerDamien George <damien@micropython.org>2022-06-20 23:37:38 +1000
commitf5769698e5fca8fbae5b86c649204e915b22b19f (patch)
tree58384a0899b7d79bca1903c878904952ae7f9369 /py
parent1842efbdd9fce3a6ea68ee640e1377bd7ba4441e (diff)
extmod/modlwip: Clean up inclusion of modlwip in build process.
The following changes are made: - Guard entire file with MICROPY_PY_LWIP, so it can be included in the build while still being disabled (for consistency with other extmod modules). - Add modlwip.c to list of all extmod source in py/py.mk and extmod/extmod.cmake so all ports can easily use it. - Move generic modlwip GIT_SUBMODULES build configuration code from ports/rp2/CMakeLists.txt to extmod/extmod.cmake, so it can be reused by other ports. - Remove now unnecessary inclusion of modlwip.c in EXTMOD_SRC_C in esp8266 port, and in SRC_QSTR in mimxrt port. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py')
-rw-r--r--py/py.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/py.mk b/py/py.mk
index 57fdb6d9b..49b94b279 100644
--- a/py/py.mk
+++ b/py/py.mk
@@ -194,6 +194,7 @@ PY_EXTMOD_O_BASENAME = \
extmod/machine_i2c.o \
extmod/machine_spi.o \
extmod/modbluetooth.o \
+ extmod/modlwip.o \
extmod/modussl_axtls.o \
extmod/modussl_mbedtls.o \
extmod/moduplatform.o\