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:
parent
ca41eda281
commit
b59989f40e
|
@ -25,7 +25,7 @@ all:
|
||||||
clean:
|
clean:
|
||||||
$(RM) -rf $(BUILD)
|
$(RM) -rf $(BUILD)
|
||||||
|
|
||||||
GIT_SUBMODULES += lib/pico-sdk lib/tinyusb
|
GIT_SUBMODULES += lib/mbedtls lib/pico-sdk lib/tinyusb
|
||||||
|
|
||||||
submodules:
|
submodules:
|
||||||
$(MAKE) -f ../../py/mkrules.mk GIT_SUBMODULES="$(GIT_SUBMODULES)" submodules
|
$(MAKE) -f ../../py/mkrules.mk GIT_SUBMODULES="$(GIT_SUBMODULES)" submodules
|
||||||
|
|
|
@ -256,7 +256,7 @@ function ci_rp2_setup {
|
||||||
|
|
||||||
function ci_rp2_build {
|
function ci_rp2_build {
|
||||||
make ${MAKEOPTS} -C mpy-cross
|
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
|
||||||
make ${MAKEOPTS} -C ports/rp2 clean
|
make ${MAKEOPTS} -C ports/rp2 clean
|
||||||
make ${MAKEOPTS} -C ports/rp2 USER_C_MODULES=../../examples/usercmodule/micropython.cmake
|
make ${MAKEOPTS} -C ports/rp2 USER_C_MODULES=../../examples/usercmodule/micropython.cmake
|
||||||
|
|
Loading…
Reference in New Issue