X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=include%2Fprereq-build.mk;h=a53065576cc9c15295fb3e12d541053d45907ac2;hp=bcb2103047906cebccbc14b23fb856555c00ef53;hb=fb0fcf9ae29ee8c34247880ed5d103fc8c5f0468;hpb=1f826e8992407f21ee33480a05d8c41642fb0daa diff --git a/include/prereq-build.mk b/include/prereq-build.mk index bcb2103047..a53065576c 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -154,8 +154,8 @@ $(eval $(call SetupHostCommand,python,Please install Python 2.x, \ $(eval $(call SetupHostCommand,svn,Please install the Subversion client, \ svn --version | grep Subversion)) -$(eval $(call SetupHostCommand,git,Please install Git (git-core) >= 1.6.5, \ - git clone 2>&1 | grep -- --recursive)) +$(eval $(call SetupHostCommand,git,Please install Git (git-core) >= 1.7.12.2, \ + git --exec-path | xargs -I % -- grep -q -- --recursive %/git-submodule)) $(eval $(call SetupHostCommand,file,Please install the 'file' package, \ file --version 2>&1 | grep file))