]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
doc: update Android instructions for ARM64
authorVincent Bernat <vincent@bernat.ch>
Wed, 15 May 2019 04:20:27 +0000 (06:20 +0200)
committerVincent Bernat <vincent@bernat.ch>
Wed, 15 May 2019 04:20:27 +0000 (06:20 +0200)
Nowadays, this is a more common platform than ARM.

README.md

index f61b6505b1481af2d48918864482977f63e8b35a..0fd3a24b736b54b0af49e171bec66a0b25aa0f69 100644 (file)
--- 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 \