summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-11-06 20:15:45 (GMT)
committerDaniel Thompson <daniel.thompson@linaro.org>2020-11-06 21:38:58 (GMT)
commita851015cea043aab6d6575461e9ae7c7d6fa2254 (patch)
tree2e136545b30b84173969dec70e7a82ec78738c54 /Makefile
parent5bb833aa28f0445413cd8f240e832cfb17f29754 (diff)
Makefile: Avoid grabbing lots of pointless submodules
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 508d316..8cfbe62 100644
--- a/Makefile
+++ b/Makefile
@@ -22,8 +22,13 @@ clean :
micropython/ports/nrf/build-$(BOARD)-s132 \
wasp/boards/$(BOARD)/watch.py
+# Avoid a recursive update... it grabs far too much
submodules :
- git submodule update --init --recursive
+ git submodule update --init
+ (cd bootloader; git submodule update --init)
+ (cd micropython/ports/nrf; $(MAKE) submodules)
+ (cd reloader; git submodule update --init)
+ (cd wasp/modules/bma42x-upy; git submodule update --init)
bootloader: build-$(BOARD_SAFE)
$(RM) bootloader/_build-$(BOARD)_nrf52832//$(BOARD)_nrf52832_bootloader-*-nosd.hex