rp2/Makefile: Add "submodules" target, to match other ports.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
Jim Mussared 2021-08-17 20:40:20 +10:00 committed by Damien George
parent 85adc25558
commit b352db7a63
2 changed files with 6 additions and 0 deletions

View File

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

View File

@ -29,6 +29,7 @@ Building of the RP2 firmware is done entirely using CMake, although a simple
Makefile is also provided as a convenience. To build the firmware run (from
this directory):
$ make submodules
$ make clean
$ make