Skip to content

Commit c2a749c

Browse files
committed
Add example Android host-platform-triplet and options
1 parent 0b0cff3 commit c2a749c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

depends/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,12 @@ Common `host-platform-triplets` for cross compilation are:
3030
- `aarch64-linux-gnu` for Linux ARM 64 bit
3131
- `riscv32-linux-gnu` for Linux RISC-V 32 bit
3232
- `riscv64-linux-gnu` for Linux RISC-V 64 bit
33+
- `aarch64-linux-android` for Android ARM 64 bit
3334

34-
No other options are needed, the paths are automatically configured.
35+
The paths are automatically configured and no other options are needed unless targeting Android.
36+
In that case one needs to set `ANDROID_API_LEVEL` and `ANDROID_TOOLCHAIN_BIN`:
37+
38+
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
3539

3640
### Install the required dependencies: Ubuntu & Debian
3741

0 commit comments

Comments
 (0)