aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMoroccanMalinois <MoroccanMalinois@protonmail.com>2017-07-13 01:28:56 +0000
committerMoroccanMalinois <MoroccanMalinois@protonmail.com>2017-07-13 15:55:11 +0000
commit044c5b5572b66a209059553101bae2a7b5799fc2 (patch)
tree62ae5d1c488d6954cc09a005b95b0f338b671adb /README.md
parentUtils: Add dockerfile for android NDK build (diff)
downloadmonero-044c5b5572b66a209059553101bae2a7b5799fc2.tar.xz
Readme: add android docker build instruction
Diffstat (limited to '')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4ab203671..8df764c23 100644
--- a/README.md
+++ b/README.md
@@ -322,6 +322,15 @@ You will have to add the serialization, date_time, and regex modules to Boost wh
To build: `env CC=egcc CXX=eg++ CPP=ecpp DEVELOPER_LOCAL_TOOLS=1 BOOST_ROOT=/path/to/the/boost/you/built make release-static-64`
+### On Linux for Android (using docker):
+
+ # Build image (select android64.Dockerfile for aarch64)
+ cd utils/build_scripts/ && docker build -f android32.Dockerfile -t monero-android .
+ # Create container
+ docker create -it --name monero-android monero-android bash
+ # Get binaries
+ docker cp monero-android:/opt/android/monero/build/release/bin .
+
### Building Portable Statically Linked Binaries
By default, in either dynamically or statically linked builds, binaries target the specific host processor on which the build happens and are not portable to other processors. Portable binaries can be built using the following targets: