diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-07-31 02:43:33 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-07-31 02:43:33 +0000 |
commit | 291e775fcd2ec242dbf0576bc8520ae5a20bbcfd (patch) | |
tree | 790ce1e8cdeed11b06ef48beb9219455f3d21cc0 /include/package.mk | |
parent | 5c9d52f04ccc1d4147df041221bf4b59c87d72a4 (diff) | |
download | mtk-20170518-291e775fcd2ec242dbf0576bc8520ae5a20bbcfd.zip mtk-20170518-291e775fcd2ec242dbf0576bc8520ae5a20bbcfd.tar.gz mtk-20170518-291e775fcd2ec242dbf0576bc8520ae5a20bbcfd.tar.bz2 |
allow packages to forcibly disable the svn/git mirror downloading attempt by setting PKG_SOURCE_MIRROR:=0 (#3815)
SVN-Revision: 12034
Diffstat (limited to 'include/package.mk')
-rw-r--r-- | include/package.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/package.mk b/include/package.mk index da8de5c..8819a11 100644 --- a/include/package.mk +++ b/include/package.mk @@ -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 |