From c2a749c9c16697e744ecfb283fdf4095d0278066 Mon Sep 17 00:00:00 2001 From: Igor Cota Date: Tue, 28 May 2019 03:28:01 +0200 Subject: Add example Android host-platform-triplet and options --- depends/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'depends/README.md') diff --git a/depends/README.md b/depends/README.md index cfb9bbfeb0..a2fb592f34 100644 --- a/depends/README.md +++ b/depends/README.md @@ -30,8 +30,12 @@ Common `host-platform-triplets` for cross compilation are: - `aarch64-linux-gnu` for Linux ARM 64 bit - `riscv32-linux-gnu` for Linux RISC-V 32 bit - `riscv64-linux-gnu` for Linux RISC-V 64 bit +- `aarch64-linux-android` for Android ARM 64 bit -No other options are needed, the paths are automatically configured. +The paths are automatically configured and no other options are needed unless targeting Android. +In that case one needs to set `ANDROID_API_LEVEL` and `ANDROID_TOOLCHAIN_BIN`: + + make HOST=aarch64-linux-android ANDROID_API_LEVEL=28 ANDROID_TOOLCHAIN_BIN=/home/user/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin NO_QT=1 NO_WALLET=1 ### Install the required dependencies: Ubuntu & Debian -- cgit v1.2.3