We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
make fetch-submodules
1 parent f8493db commit 0a27f7cCopy full SHA for 0a27f7c
.gitmodules
@@ -198,3 +198,4 @@
198
path = ports/broadcom/firmware
199
url = https://github.com/raspberrypi/rpi-firmware.git
200
branch = master
201
+ shallow = true
Makefile
@@ -321,3 +321,8 @@ clean-nrf:
321
322
clean-stm:
323
$(MAKE) -C ports/stm BOARD=feather_stm32f405_express clean
324
+
325
+.PHONY: fetch-submodules
326
+fetch-submodules:
327
+ git submodule update --init -N --depth 1
328
+ git submodule foreach 'git fetch --tags --depth 1 origin $$sha1 && git checkout -q $$sha1'
0 commit comments