summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-08-06 12:51:16 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-08-06 12:51:16 (GMT)
commit641c765f3147657b26f5a1998014486474200d8f (patch)
tree05de97b13291a378aa635df8564b97869a582722
parent8c46d829bf9dda9d3df995d87ef87b54d32b7641 (diff)
downloadmxe-641c765f3147657b26f5a1998014486474200d8f.zip
mxe-641c765f3147657b26f5a1998014486474200d8f.tar.gz
mxe-641c765f3147657b26f5a1998014486474200d8f.tar.bz2
Makefile: add target-specific dependencies to download-foo rules also
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9a58c28..22837b4 100644
--- a/Makefile
+++ b/Makefile
@@ -178,7 +178,7 @@ $(foreach TARGET,$(MXE_TARGETS),$(eval $(call TARGET_RULE,$(TARGET))))
define PKG_RULE
.PHONY: download-$(1)
-download-$(1):: $(addprefix download-,$($(1)_DEPS))
+download-$(1):: $(addprefix download-,$($(1)_DEPS) $($(1)_DEPS_$(3)))
if ! $(call CHECK_PKG_ARCHIVE,$(1)); then \
$(call DOWNLOAD_PKG_ARCHIVE,$(1)); \
$(call CHECK_PKG_ARCHIVE,$(1)) || { echo 'Wrong checksum!'; exit 1; }; \