diff --git a/include/download.mk b/include/download.mk index 372db03194..1c3f23e94b 100644 --- a/include/download.mk +++ b/include/download.mk @@ -88,7 +88,7 @@ define DownloadMethod/git rm -rf $(SUBDIR) && \ [ \! -d $(SUBDIR) ] && \ git clone $(URL) $(SUBDIR) --recursive && \ - (cd $(SUBDIR) && git checkout $(VERSION)) && \ + (cd $(SUBDIR) && git checkout $(VERSION) && git submodule update) && \ echo "Packing checkout..." && \ rm -rf $(SUBDIR)/.git && \ $(call dl_pack,$(TMP_DIR)/dl/$(FILE),$(SUBDIR)) && \