Merge remote-tracking branch 'upstream/master' into edpt_ISO_xfer

This commit is contained in:
Reinhard Panhuber
2021-03-10 19:34:22 +01:00
2 changed files with 3 additions and 9 deletions

View File

@@ -45,16 +45,10 @@ else
SRC_C += $(subst $(TOP)/,,$(wildcard $(TOP)/$(FAMILY_PATH)/*.c)) SRC_C += $(subst $(TOP)/,,$(wildcard $(TOP)/$(FAMILY_PATH)/*.c))
endif endif
#TODO $(call fetch_submodule_if_empty,lib/sct_neopixel)
# Fetch submodules depended by family # Fetch submodules depended by family
fetch_submodule_if_empty = \ fetch_submodule_if_empty = $(if $(wildcard $(TOP)/$1/*),,$(info $(shell git -C $(TOP) submodule update --init $1)))
ifeq ($(wildcard $(TOP)/$1/*),) \
$(info $(shell git -C $(TOP) submodule update --init $1)) \
endif
ifdef DEPS_SUBMODULES ifdef DEPS_SUBMODULES
$(foreach s,$(DEPS_SUBMODULES),:$(call fetch_submodule_if_empty,$(s))) $(foreach s,$(DEPS_SUBMODULES),$(call fetch_submodule_if_empty,$(s)))
endif endif
#-------------- Cross Compiler ------------ #-------------- Cross Compiler ------------