allow packages to forcibly disable the svn/git mirror downloading attempt by setting PKG_SOURCE_MIRROR:=0 (#3815)

SVN-Revision: 12034
This commit is contained in:
Felix Fietkau
2008-07-31 02:43:33 +00:00
parent 5c9d52f04c
commit 291e775fcd
2 changed files with 3 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ define Download/default
URL:=$(PKG_SOURCE_URL)
SUBDIR:=$(PKG_SOURCE_SUBDIR)
PROTO:=$(PKG_SOURCE_PROTO)
$(if $(PKG_SOURCE_MIRROR),MIRROR:=$(filter 1,$(PKG_MIRROR)))
VERSION:=$(PKG_SOURCE_VERSION)
MD5SUM:=$(PKG_MD5SUM)
endef