1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-06-25 08:44:32 +03:00

[include] Add git version check to prerequisite check (#11229)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31214 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
acinonyx 2012-04-06 12:05:59 +00:00
parent 54eef89c33
commit b4f26d0124

View File

@ -121,8 +121,12 @@ $(eval $(call RequireCommand,wget, \
Please install wget. \
))
$(eval $(call RequireCommand,git, \
Please install git (git-core). \
define Require/git
git --version | awk '($$$$1 == "git") && ($$$$2 == "version") && ($$$$3 >= "1.6.5") { print "ok" }' | grep ok > /dev/null
endef
$(eval $(call Require,git, \
Please install git (git-core) v1.6.5 or later. \
))
define Require/gnutar