From: Felix Fietkau Date: Tue, 17 Mar 2009 02:37:10 +0000 (+0000) Subject: fix download reverse depends X-Git-Tag: reboot~24204 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=510bdd3f0ee6b843120d68c68dfd648ec498a357;p=oweals%2Fopenwrt.git fix download reverse depends SVN-Revision: 14907 --- diff --git a/include/download.mk b/include/download.mk index 811c42a3c3..78848b9c95 100644 --- a/include/download.mk +++ b/include/download.mk @@ -5,7 +5,7 @@ # See /LICENSE for more information. # -DOWNLOAD_RDEP:=$(STAMP_PREPARED) $(HOST_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):