summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--index.html7
2 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5520a78..9e71959 100644
--- a/Makefile
+++ b/Makefile
@@ -178,7 +178,11 @@ $(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-,$(value $(call LOOKUP_PKG_RULE,$(1),DEPS,$(3)))) \
+ download-only-$(1)
+
+.PHONY: download-only-$(1)
+download-only-$(1)::
if ! $(call CHECK_PKG_ARCHIVE,$(1)); then \
$(call DOWNLOAD_PKG_ARCHIVE,$(1)); \
$(call CHECK_PKG_ARCHIVE,$(1)) || { echo 'Wrong checksum!'; exit 1; }; \
diff --git a/index.html b/index.html
index 47c42ab..b0aee1f 100644
--- a/index.html
+++ b/index.html
@@ -1036,6 +1036,13 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
where up to 4 packages are downloaded in parallel
</dd>
+ <dt>make download-only-foo download-only-bar</dt>
+
+ <dd>
+ download packages "foo", "bar", without their dependencies,
+ non-parallel
+ </dd>
+
<dt>make clean</dt>
<dd>