1
0
Fork 0

Makefile: Avoid grabbing lots of pointless submodules

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
This commit is contained in:
Daniel Thompson 2020-11-06 20:15:45 +00:00 committed by Daniel Thompson
parent 5bb833aa28
commit a851015cea

View file

@ -22,8 +22,13 @@ clean :
micropython/ports/nrf/build-$(BOARD)-s132 \ micropython/ports/nrf/build-$(BOARD)-s132 \
wasp/boards/$(BOARD)/watch.py wasp/boards/$(BOARD)/watch.py
# Avoid a recursive update... it grabs far too much
submodules : 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) bootloader: build-$(BOARD_SAFE)
$(RM) bootloader/_build-$(BOARD)_nrf52832//$(BOARD)_nrf52832_bootloader-*-nosd.hex $(RM) bootloader/_build-$(BOARD)_nrf52832//$(BOARD)_nrf52832_bootloader-*-nosd.hex