From: Jens Muecke Date: Sat, 17 Mar 2012 21:33:13 +0000 (+0000) Subject: Enable recursive download of git sources. X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=fbf89c710f27518c8eff8f85c68b7f8ce4be232b Enable recursive download of git sources. SVN-Revision: 30967 --- diff --git a/include/download.mk b/include/download.mk index 7009bfcd44..6cc10d95c3 100644 --- a/include/download.mk +++ b/include/download.mk @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2010 OpenWrt.org +# Copyright (C) 2006-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -87,7 +87,7 @@ define DownloadMethod/git cd $(TMP_DIR)/dl && \ rm -rf $(SUBDIR) && \ [ \! -d $(SUBDIR) ] && \ - git clone $(URL) $(SUBDIR) && \ + git clone $(URL) $(SUBDIR) --recursive && \ (cd $(SUBDIR) && git checkout $(VERSION)) && \ echo "Packing checkout..." && \ rm -rf $(SUBDIR)/.git && \