From 7cae6b6e3a297210ba554b05edbddddb82df050f Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 11 Apr 2018 08:45:24 +0200 Subject: [PATCH] doc: add more instructions for Android --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ffcc556b..ad889143 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,15 @@ Then, you can build `lldpd` with the following commands: export PATH=$PATH:$TOOLCHAIN/bin ../configure \ --host=arm-linux-androideabi \ - --with-sysroot=$TOOLCHAIN/sysroot + --with-sysroot=$TOOLCHAIN/sysroot \ + --prefix=/system \ + --sbindir=/system/bin + make + make install DESTDIR=$PWD/install + +Then, copy `install/system/bin/*` to `/system/bin` on the target +system and `install/system/lib/*.so*` to `/system/lib` on the target +system. [Android NDK]: http://developer.android.com/tools/sdk/ndk/index.html -- 2.39.5