Skip to content

Commit b352db7

Browse files
jimmodpgeorge
authored andcommitted
rp2/Makefile: Add "submodules" target, to match other ports.
Signed-off-by: Jim Mussared <[email protected]>
1 parent 85adc25 commit b352db7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

ports/rp2/Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,8 @@ all:
2020

2121
clean:
2222
$(RM) -rf $(BUILD)
23+
24+
GIT_SUBMODULES += lib/pico-sdk lib/tinyusb
25+
26+
submodules:
27+
$(MAKE) -f ../../py/mkrules.mk GIT_SUBMODULES="$(GIT_SUBMODULES)" submodules

ports/rp2/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Building of the RP2 firmware is done entirely using CMake, although a simple
2929
Makefile is also provided as a convenience. To build the firmware run (from
3030
this directory):
3131

32+
$ make submodules
3233
$ make clean
3334
$ make
3435

0 commit comments

Comments
 (0)