X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=include%2Fdownload.mk;h=f064ee9e8cf32faa52e4e0566d648a0627b03814;hb=46b97b14c894cc6612cea14499ff4e76b7b37eed;hp=74986be598e84e31d331771811e7c10a8d0373cd;hpb=cd040cbb063675937bee1dad89457e99a5a8587e;p=openwrt-10.03%2F.git diff --git a/include/download.mk b/include/download.mk index 74986be59..f064ee9e8 100644 --- a/include/download.mk +++ b/include/download.mk @@ -41,7 +41,7 @@ define DownloadMethod/default endef define wrap_mirror - @$(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "x" || ( $(1) ) + $(if $(MIRROR),@$(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "x" || ( $(1) ),$(1)) endef define DownloadMethod/cvs @@ -101,6 +101,7 @@ define Download/Defaults PROTO:= MD5SUM:= SUBDIR:= + MIRROR:=1 VERSION:= endef