aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2014-12-11 15:38:29 -0500
committerCory Fields <cory-nospam-@coryfields.com>2014-12-11 19:23:12 -0500
commit422f873ef3d62f7dff9c00dc0f221912ce28f130 (patch)
treef1cceec2f323bba2d365ce4869ac170532491fe9
parent3bb29a3e13f78f534d96b71048a128843f3bab85 (diff)
depends: teach 'make download' to download sources for all hosts
-rw-r--r--depends/Makefile11
-rw-r--r--depends/README.usage5
2 files changed, 13 insertions, 3 deletions
diff --git a/depends/Makefile b/depends/Makefile
index 5de0159714..f803268c17 100644
--- a/depends/Makefile
+++ b/depends/Makefile
@@ -122,5 +122,12 @@ $(host_prefix)/share/config.site : config.site.in $(host_prefix)/.stamp_$(final_
$(AT)touch $@
install: $(host_prefix)/share/config.site
-download: $(all_sources)
-.PHONY: install cached
+download-one: $(all_sources)
+download-osx:
+ @$(MAKE) -s HOST=x86_64-apple-darwin11 download-one
+download-linux:
+ @$(MAKE) -s HOST=x86_64-unknown-linux-gnu download-one
+download-win:
+ @$(MAKE) -s HOST=x86_64-w64-mingw32 download-one
+download: download-osx download-linux download-win
+.PHONY: install cached download-one download-osx download-linux download-win download
diff --git a/depends/README.usage b/depends/README.usage
index e768feecf7..f5aa5314a1 100644
--- a/depends/README.usage
+++ b/depends/README.usage
@@ -29,4 +29,7 @@ If some packages are not built, for example 'make NO_WALLET=1', the appropriate
options will be passed to bitcoin's configure. In this case, --disable-wallet.
Additional targets:
-download: run 'make download' to fetch sources without building them
+download: run 'make download' to fetch all sources without building them
+download-osx: run 'make download-osx' to fetch all sources needed for osx builds
+download-win: run 'make download-win' to fetch all sources needed for win builds
+download-linux: run 'make download-linux' to fetch all sources needed for linux builds