diff options
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | index.html | 7 |
2 files changed, 12 insertions, 1 deletions
@@ -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; }; \ @@ -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> |