buildroot: improve git submodule handling for packages
authorFelix Fietkau <nbd@openwrt.org>
Mon, 29 Feb 2016 20:12:25 +0000 (20:12 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 29 Feb 2016 20:12:25 +0000 (20:12 +0000)
commit59121fdd69f04ae766069944d10eacb2a4286316
tree239eb23737696992f0af4f5a3b7aa8b528c8a5be
parent076d58d3440f382c536ea8874f58b0df23c263bc
buildroot: improve git submodule handling for packages

Move the `--recursive` switch from `git clone` to `git submodule`
so that submodules are cloned for upstream branches where the
PKG_SOURCE_VERSION commit-ish has a different .gitmodules
configuration than the repository default.

This is, for example, required when the master branch for a source
package does not use submodules, but its topic branch for OpenWRT
does.

This changes the buildroot dependency from git-1.6.2 to git 1.7.12.2,
which was released September 2012.

Signed-off-by: Darik Horn <dajhorn@vanadac.com>
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
SVN-Revision: 48830
include/download.mk
include/prereq-build.mk