ports: Always append to GIT_SUBMODULES.

Avoids overwriting submodules required by base makefiles.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
Jim Mussared 2022-07-08 14:59:33 +10:00 committed by Damien George
parent 9a1b7d8448
commit be83c08f46
5 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)