diff options
author | Igor Cota <igor@codexapertus.com> | 2019-05-28 03:28:01 +0200 |
---|---|---|
committer | Igor Cota <igor@codexapertus.com> | 2019-09-19 11:27:18 +0200 |
commit | c2a749c9c16697e744ecfb283fdf4095d0278066 (patch) | |
tree | 53dc0ba38c4809f61d6cfa18e062218db891ccdb /depends | |
parent | 0b0cff3c61610fb56f8c5c9451ace01598117a8d (diff) |
Add example Android host-platform-triplet and options
Diffstat (limited to 'depends')
-rw-r--r-- | depends/README.md | 6 |
1 files changed, 5 insertions, 1 deletions
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 |