X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=include%2Fdownload.mk;h=78848b9c956d2004071c600bf51bcd8c8bbd1c30;hb=4e265857597bca77cc2123578dda60fdac7680e5;hp=0a2dd3c03fcfd99efec0249550ae85805cde7c42;hpb=fa4b71aceb89e20146e9862b8b863bbce14ad232;p=openwrt.git diff --git a/include/download.mk b/include/download.mk index 0a2dd3c03f..78848b9c95 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):