summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2022-07-08 14:59:33 +1000
committerDamien George <damien@micropython.org>2022-08-03 00:05:26 +1000
commitbe83c08f463c75bb52619ea4f35b5256fc479158 (patch)
tree93e98ea52eb16133f8b68b75b8336c2ec07c6950
parent9a1b7d8448346b353e3aa7ae11ff2b441b6d5313 (diff)
ports: Always append to GIT_SUBMODULES.
Avoids overwriting submodules required by base makefiles. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-rw-r--r--ports/esp32/Makefile2
-rw-r--r--ports/esp8266/Makefile2
-rw-r--r--ports/mimxrt/Makefile2
-rw-r--r--ports/nrf/Makefile2
-rw-r--r--ports/samd/Makefile2
5 files changed, 5 insertions, 5 deletions
diff --git a/ports/esp32/Makefile b/ports/esp32/Makefile
index c8ca9262c..88f946fa9 100644
--- a/ports/esp32/Makefile
+++ b/ports/esp32/Makefile
@@ -14,7 +14,7 @@ BAUD ?= 460800
PYTHON ?= python3
-GIT_SUBMODULES = lib/berkeley-db-1.xx
+GIT_SUBMODULES += lib/berkeley-db-1.xx
.PHONY: all clean deploy erase submodules FORCE
diff --git a/ports/esp8266/Makefile b/ports/esp8266/Makefile
index 52ba18d7d..c027f690f 100644
--- a/ports/esp8266/Makefile
+++ b/ports/esp8266/Makefile
@@ -32,7 +32,7 @@ FROZEN_MANIFEST ?= boards/manifest.py
include $(TOP)/py/py.mk
include $(TOP)/extmod/extmod.mk
-GIT_SUBMODULES = lib/axtls lib/berkeley-db-1.xx
+GIT_SUBMODULES += lib/axtls lib/berkeley-db-1.xx
FWBIN = $(BUILD)/firmware-combined.bin
PORT ?= /dev/ttyACM0
diff --git a/ports/mimxrt/Makefile b/ports/mimxrt/Makefile
index 13b766eb3..6312ecdd8 100644
--- a/ports/mimxrt/Makefile
+++ b/ports/mimxrt/Makefile
@@ -7,7 +7,7 @@ BOARD_DIR ?= boards/$(BOARD)
BUILD ?= build-$(BOARD)
PORT ?= /dev/ttyACM0
CROSS_COMPILE ?= arm-none-eabi-
-GIT_SUBMODULES = lib/tinyusb lib/nxp_driver lib/lwip lib/mbedtls
+GIT_SUBMODULES += lib/tinyusb lib/nxp_driver lib/lwip lib/mbedtls
# MicroPython feature configurations
FROZEN_MANIFEST ?= boards/manifest.py
diff --git a/ports/nrf/Makefile b/ports/nrf/Makefile
index 0586524ba..23be4430f 100644
--- a/ports/nrf/Makefile
+++ b/ports/nrf/Makefile
@@ -58,7 +58,7 @@ FROZEN_MANIFEST ?= modules/manifest.py
include ../../py/py.mk
include ../../extmod/extmod.mk
-GIT_SUBMODULES = lib/nrfx lib/tinyusb
+GIT_SUBMODULES += lib/nrfx lib/tinyusb
MICROPY_VFS_FAT ?= 0
diff --git a/ports/samd/Makefile b/ports/samd/Makefile
index 7091365f4..aed8637ab 100644
--- a/ports/samd/Makefile
+++ b/ports/samd/Makefile
@@ -24,7 +24,7 @@ FROZEN_MANIFEST ?= boards/manifest.py
include $(TOP)/py/py.mk
include $(TOP)/extmod/extmod.mk
-GIT_SUBMODULES = lib/asf4 lib/tinyusb
+GIT_SUBMODULES += lib/asf4 lib/tinyusb
INC += -I.
INC += -I$(TOP)