1### Usage 2 3To build dependencies for the current arch+OS: 4 5 make 6 7To build for another arch/OS: 8 9 make HOST=host-platform-triplet 10 11For example: 12 13 make HOST=x86_64-w64-mingw32 -j4 14 15A prefix will be generated that's suitable for plugging into Bitcoin's 16configure. In the above example, a dir named x86_64-w64-mingw32 will be 17created. To use it for Bitcoin: 18 19 ./configure --prefix=`pwd`/depends/x86_64-w64-mingw32 20 21Common `host-platform-triplets` for cross compilation are: 22 23- `i686-w64-mingw32` for Win32 24- `x86_64-w64-mingw32` for Win64 25- `x86_64-apple-darwin11` for MacOSX 26- `arm-linux-gnueabihf` for Linux ARM 32 bit 27- `aarch64-linux-gnu` for Linux ARM 64 bit 28 29No other options are needed, the paths are automatically configured. 30 31Dependency Options: 32The following can be set when running make: make FOO=bar 33 34 SOURCES_PATH: downloaded sources will be placed here 35 BASE_CACHE: built packages will be placed here 36 SDK_PATH: Path where sdk's can be found (used by OSX) 37 FALLBACK_DOWNLOAD_PATH: If a source file can't be fetched, try here before giving up 38 NO_QT: Don't download/build/cache qt and its dependencies 39 NO_WALLET: Don't download/build/cache libs needed to enable the wallet 40 NO_UPNP: Don't download/build/cache packages needed for enabling upnp 41 DEBUG: disable some optimizations and enable more runtime checking 42 HOST_ID_SALT: Optional salt to use when generating host package ids 43 BUILD_ID_SALT: Optional salt to use when generating build package ids 44 45If some packages are not built, for example `make NO_WALLET=1`, the appropriate 46options will be passed to bitcoin's configure. In this case, `--disable-wallet`. 47 48Additional targets: 49 50 download: run 'make download' to fetch all sources without building them 51 download-osx: run 'make download-osx' to fetch all sources needed for osx builds 52 download-win: run 'make download-win' to fetch all sources needed for win builds 53 download-linux: run 'make download-linux' to fetch all sources needed for linux builds 54 55### Other documentation 56 57- [description.md](description.md): General description of the depends system 58- [packages.md](packages.md): Steps for adding packages 59 60