From 85adc25558270c9e1815f20689475d38645b47f1 Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Tue, 17 Aug 2021 20:20:29 +1000 Subject: [PATCH] py/mkrules.mk: Do submodule sync in "make submodules". Signed-off-by: Jim Mussared --- py/mkrules.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/py/mkrules.mk b/py/mkrules.mk index 730ad45890..d0c0a53c26 100644 --- a/py/mkrules.mk +++ b/py/mkrules.mk @@ -214,6 +214,7 @@ endif submodules: $(ECHO) "Updating submodules: $(GIT_SUBMODULES)" ifneq ($(GIT_SUBMODULES),) + $(Q)git submodule sync $(addprefix $(TOP)/,$(GIT_SUBMODULES)) $(Q)git submodule update --init $(addprefix $(TOP)/,$(GIT_SUBMODULES)) endif .PHONY: submodules