freeswitch: return $(FS_DEFAULT_HEAD) in DUMP phase, avoids hanging scripts/feeds...
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 16 Mar 2013 22:10:20 +0000 (22:10 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 16 Mar 2013 22:10:20 +0000 (22:10 +0000)
SVN-Revision: 36058

net/freeswitch/Makefile

index a093d82fcd18b8fe7a85c373bc8fcd9da7c4ca3a..ab66c4571fd128ed4dbbf003bb1fc43f36e43284 100644 (file)
@@ -19,7 +19,7 @@ PKG_VERSION:=1.3.17
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=git://git.$(PKG_NAME).org/$(PKG_NAME).git
 FS_DEFAULT_HEAD:=6af84a870c21836e20077f27a85d94fd382a02be
-FS_LATEST_HEAD:=$(shell git ls-remote $(PKG_SOURCE_URL) HEAD | cut -f1)
+FS_LATEST_HEAD:=$(if $(DUMP),$(FS_DEFAULT_HEAD),$(shell git ls-remote $(PKG_SOURCE_URL) HEAD | cut -f1))
 PKG_SOURCE_VERSION:=$(if $(CONFIG_FS_SOFIA_WITH_PULL_CURRENT),$(FS_LATEST_HEAD),$(FS_DEFAULT_HEAD))
 PKG_SOURCE_VERSION_SHORT:=$(shell echo $(PKG_SOURCE_VERSION)|cut -b -7)
 PKG_RELEASE:=$(PKG_SOURCE_VERSION_SHORT)