summaryrefslogtreecommitdiff
path: root/include/download.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-03-17 02:37:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-03-17 02:37:10 +0000
commit510bdd3f0ee6b843120d68c68dfd648ec498a357 (patch)
treea062846ff79114348b890b34dcde435f6ce888b7 /include/download.mk
parent7ec4ad271e4d1cd75a454450ba5a085816955e3d (diff)
downloadmtk-20170518-510bdd3f0ee6b843120d68c68dfd648ec498a357.zip
mtk-20170518-510bdd3f0ee6b843120d68c68dfd648ec498a357.tar.gz
mtk-20170518-510bdd3f0ee6b843120d68c68dfd648ec498a357.tar.bz2
fix download reverse depends
SVN-Revision: 14907
Diffstat (limited to 'include/download.mk')
-rw-r--r--include/download.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/download.mk b/include/download.mk
index 811c42a..78848b9 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):