rp2/Makefile: Add mbedtls to GIT_SUBMODULES list and use it in CI func.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2022-04-11 13:04:31 +10:00
parent ca41eda281
commit b59989f40e
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ all:
clean:
$(RM) -rf $(BUILD)
GIT_SUBMODULES += lib/pico-sdk lib/tinyusb
GIT_SUBMODULES += lib/mbedtls lib/pico-sdk lib/tinyusb
submodules:
$(MAKE) -f ../../py/mkrules.mk GIT_SUBMODULES="$(GIT_SUBMODULES)" submodules

View File

@ -256,7 +256,7 @@ function ci_rp2_setup {
function ci_rp2_build {
make ${MAKEOPTS} -C mpy-cross
git submodule update --init lib/mbedtls lib/pico-sdk lib/tinyusb
make ${MAKEOPTS} -C ports/rp2 submodules
make ${MAKEOPTS} -C ports/rp2
make ${MAKEOPTS} -C ports/rp2 clean
make ${MAKEOPTS} -C ports/rp2 USER_C_MODULES=../../examples/usercmodule/micropython.cmake