X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/fa4b71aceb89e20146e9862b8b863bbce14ad232..774f3a113c0c5d48e7ef3003a9a00ba7991c7394:/include/download.mk diff --git a/include/download.mk b/include/download.mk index 0a2dd3c03..78848b9c9 100644 --- a/include/download.mk +++ b/include/download.mk @@ -5,7 +5,7 @@ # See /LICENSE for more information. # -DOWNLOAD_RDEP:=$(STAMP_PREPARED) +DOWNLOAD_RDEP=$(STAMP_PREPARED) $(HOST_STAMP_PREPARED) # Try to guess the download method from the URL define dl_method @@ -132,7 +132,9 @@ define Download endif ) - $(if $(DOWNLOAD_RDEP),$(DOWNLOAD_RDEP): $(DL_DIR)/$(FILE)) + $(foreach dep,$(DOWNLOAD_RDEP), + $(dep): $(DL_DIR)/$(FILE) + ) download: $(DL_DIR)/$(FILE) $(DL_DIR)/$(FILE):