diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-08-22 02:53:45 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2014-08-30 00:13:24 (GMT) |
commit | 30d2e78632bffca4edbb6f5db30a3d07086c0908 (patch) | |
tree | d1c6e52ef1e8c117cd7be5e3fb34dc000c3bbe00 | |
parent | c8ee03544d0b9f2b91ff899040ee5f9b92625011 (diff) | |
download | mxe-30d2e78632bffca4edbb6f5db30a3d07086c0908.zip mxe-30d2e78632bffca4edbb6f5db30a3d07086c0908.tar.gz mxe-30d2e78632bffca4edbb6f5db30a3d07086c0908.tar.bz2 |
Add target download-only-* to ease developing
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Conflicts:
Makefile
-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> |