X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/dba6854def7e076701f80e8014a974baa2e2ab83..4eddfed4b3d2c5afc0dd10662ad7f32808804329:/include/download.mk diff --git a/include/download.mk b/include/download.mk index d1b3fc8f8..7009bfcd4 100644 --- a/include/download.mk +++ b/include/download.mk @@ -41,11 +41,11 @@ define DownloadMethod/unknown endef define DownloadMethod/default - $(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "$(MD5SUM)" $(URL) + $(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "$(MD5SUM)" $(foreach url,$(URL),"$(url)") endef define wrap_mirror - $(if $(MIRROR),@$(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "x" || ( $(1) ),$(1)) + $(if $(MIRROR),@$(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "$(MIRROR_MD5SUM)" || ( $(1) ),$(1)) endef define DownloadMethod/cvs @@ -158,6 +158,7 @@ define Download/Defaults MD5SUM:= SUBDIR:= MIRROR:=1 + MIRROR_MD5SUM:=x VERSION:= endef