diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-08-22 02:53:45 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2014-08-22 02:53:45 (GMT) |
commit | 55558ecdd3f9dac6b5217dd062e4f551ab4ea99d (patch) | |
tree | c065f3796e30f4480cfa65466c03cb00e096730e | |
parent | 2722b35587bee4ec2f0c47f9c6f00186e5685ad9 (diff) | |
download | mxe-55558ecdd3f9dac6b5217dd062e4f551ab4ea99d.zip mxe-55558ecdd3f9dac6b5217dd062e4f551ab4ea99d.tar.gz mxe-55558ecdd3f9dac6b5217dd062e4f551ab4ea99d.tar.bz2 |
Add target download-only-* to ease developing
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | index.html | 7 |
2 files changed, 12 insertions, 1 deletions
@@ -318,7 +318,11 @@ $(foreach TARGET,$(MXE_TARGETS),$(eval $(call TARGET_RULE,$(TARGET)))) define PKG_RULE .PHONY: download-$(1) -download-$(1):: $(addprefix download-,$(value $(call LOOKUP_PKG_RULE,$(1),DEPS,$(3)))) +download-$(1):: $(addprefix download-,$(value $(call LOOKUP_PKG_RULE,$(1),DEPS,$(3)))) \ + download-only-$(1) + +.PHONY: download-only-$(1) +download-only-$(1):: @[ -d '$(LOG_DIR)/$(TIMESTAMP)' ] || mkdir -p '$(LOG_DIR)/$(TIMESTAMP)' @if ! $(call CHECK_PKG_ARCHIVE,$(1)); then \ echo '[download] $(1)'; \ @@ -973,6 +973,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> |