From 653838a396cc743b0daaac32571ecb249f8541a5 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 15 May 2019 06:20:27 +0200 Subject: [PATCH] doc: update Android instructions for ARM64 Nowadays, this is a more common platform than ARM. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f61b6505..0fd3a24b 100644 --- a/README.md +++ b/README.md @@ -115,11 +115,11 @@ Installation (Android) ---------------------- You need to download [Android NDK][]. Once unpacked, you can generate -a toolchain using the following command: +a toolchain using the following command (for ARM64): ./build/tools/make-standalone-toolchain.sh \ - --platform=android-9 \ - --arch=arm \ + --platform=android-24 \ + --arch=arm64 \ --install-dir=../android-toolchain export TOOLCHAIN=$PWD/../android-toolchain @@ -128,7 +128,7 @@ Then, you can build `lldpd` with the following commands: mkdir build && cd build export PATH=$PATH:$TOOLCHAIN/bin ../configure \ - --host=arm-linux-androideabi \ + --host=arm64-linux-androideabi \ --with-sysroot=$TOOLCHAIN/sysroot \ --prefix=/system \ --sbindir=/system/bin \ -- 2.47.2