summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-11-07 09:30:20 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-11-07 09:30:20 (GMT)
commit12ba849b1527fc29def977098ab5c18cb40a140d (patch)
tree1f70d14d28b1ebfa963651a94eb9bbe181c678bb /Makefile
parenta4e0fdf24ef696914ad588f5a1d4a69962f4c1ef (diff)
parent3423039d35ec38010668132ae11b24b94f8c070a (diff)
Merge branch 'master' of https://github.com/daniel-thompson/wasp-os
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 984280e..470de25 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