diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2021-08-17 20:40:20 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-08-19 22:54:57 +1000 |
| commit | b352db7a6394b77fc8aa173557d00b3d93a05231 (patch) | |
| tree | 53d74f0b1ef2c21515ca6085c5bede81b24c70d6 | |
| parent | 85adc25558270c9e1815f20689475d38645b47f1 (diff) | |
rp2/Makefile: Add "submodules" target, to match other ports.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
| -rw-r--r-- | ports/rp2/Makefile | 5 | ||||
| -rw-r--r-- | ports/rp2/README.md | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ports/rp2/Makefile b/ports/rp2/Makefile index 246f29dd0..2af13bfbb 100644 --- a/ports/rp2/Makefile +++ b/ports/rp2/Makefile @@ -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 diff --git a/ports/rp2/README.md b/ports/rp2/README.md index d49550c5c..5836ac0cd 100644 --- a/ports/rp2/README.md +++ b/ports/rp2/README.md @@ -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 |
