extmod/extmod.mk: Make extmod.mk handle GIT_SUBMODULES.

This applies to nimble, btstack, axtls, mbedtls, lwip.

Rather than having the ports individually manage GIT_SUBMODULES for these
components, make extmod.mk append them when the relevant feature is
enabled.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
Jim Mussared
2022-10-08 23:47:57 +11:00
committed by Damien George
parent 065af04a4e
commit 87011f6353
7 changed files with 13 additions and 11 deletions

View File

@@ -7,7 +7,7 @@ BOARD_DIR ?= boards/$(BOARD)
BUILD ?= build-$(BOARD)
PORT ?= /dev/ttyACM0
CROSS_COMPILE ?= arm-none-eabi-
GIT_SUBMODULES += lib/tinyusb lib/nxp_driver lib/lwip lib/mbedtls
GIT_SUBMODULES += lib/tinyusb lib/nxp_driver
# MicroPython feature configurations
FROZEN_MANIFEST ?= boards/manifest.py