]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
doc: add more instructions for Android
authorVincent Bernat <vincent@bernat.im>
Wed, 11 Apr 2018 06:45:24 +0000 (08:45 +0200)
committerVincent Bernat <vincent@bernat.im>
Wed, 11 Apr 2018 06:45:24 +0000 (08:45 +0200)
README.md

index ffcc556b38916151deaf378e6e4915fd2ae131b1..ad889143abfd5860cd4453acaa82003c14793096 100644 (file)
--- 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