From 97fc11af79f76c467abf512c55bd88b288d87b38 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 10 Oct 2013 15:01:50 +0000 Subject: Incorrect checkout of git submodules When checking out git packages, buildroot doesn't seem to track the revisions correctly of any submodules referenced by that project. As a result, the submodule stays at whatever revision was referenced by the head of the master branch. Running a 'git submodule update' after the checkout fixes this problem. Signed-off-by: Owen Kirby SVN-Revision: 38359 --- include/download.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/download.mk') 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)) && \ -- cgit v1.2.3