fix download reverse depends

SVN-Revision: 14907
This commit is contained in:
Felix Fietkau 2009-03-17 02:37:10 +00:00
parent 7ec4ad271e
commit 510bdd3f0e
1 changed files with 4 additions and 2 deletions

View File

@ -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):