Browse Source

Armbian build instructions

ppa-0.6.1
Sjors Provoost 7 years ago
committed by Christian Decker
parent
commit
f7dabd4fd8
  1. 12
      doc/INSTALL.md

12
doc/INSTALL.md

@ -7,7 +7,8 @@
6. [macOS](#to-build-on-macos)
7. [Android](#to-cross-compile-for-android)
8. [Raspberry Pi](#to-cross-compile-for-raspberry-pi)
9. [Additional steps](#additional-steps)
9. [Armbian](#to-compile-for-armbian)
10. [Additional steps](#additional-steps)
Library Requirements
--------------------
@ -272,6 +273,15 @@ The compilation will eventually fail due to a compile error in the `cdump` CCAN
make CC=gcc -C ccan/ccan/cdump/tools
BUILD=x86_64 MAKE_HOST=arm-linux-gnueabihf make PIE=1 DEVELOPER=0 CONFIGURATOR_CC="arm-linux-gnueabihf-gcc -static" LDFLAGS="-L/path/to/gmp-and-sqlite/lib" CFLAGS="-std=gnu11 -I /path/to/gmp-and-sqlite/include -I . -I ccan -I external/libwally-core/src/secp256k1/include -I external/libsodium/src/libsodium/include -I external/jsmn -I external/libwally-core/include -I external/libbacktrace -I external/libbase58"
To compile for Armbian
--------------------
For all the other Pi devices out there, consider using [Armbian](https://www.armbian.com).
You can compile in `customize-image.sh` using the instructions for Ubuntu.
A working example that compiles both bitcoind and c-lightning for Armbian can
be found [here](https://github.com/Sjors/armbian-bitcoin-core).
Additional steps
--------------------
Go to [README](https://github.com/ElementsProject/lightning/blob/master/README.md) for more information how to create an address, add funds, connect to a node, etc.

Loading…
Cancel
Save