2 This directory contains some Android specific code. (Mostly dealing
3 with providing missing filesfrom Android NDK.)
5 * regex support was not added until NDK platform android-8 (v2.2)
8 Building olsrd for Android
9 --------------------------
11 Currently the makefiles are setup for NDK r10.
13 In order to build olsrd and the plugins for Android, you will need to
14 download the free (as in beer, and mostly as in speech) Android NDK.
16 http://developer.android.com/sdk/ndk/index.html
18 Once you have that installed, run this in your terminal:
20 make OS=android NDK_BASE=/path/to/your/android-ndk build_all
22 Then you can find olsrd in the root, and the plugin files in lib/*/*.so*
24 If using a different NDK then you will need to adjust the NDK_COMPILER_VERSION
27 make/Makefile.android.compiler
29 or (preferably) by setting it on the make command-line invocation, like
31 make OS=android NDK_BASE=/path/to/your/android-ndk-r7 \
32 NDK_COMPILER_VERSION=4.4.3 build_all
38 As part of the Commotion project, there is an Android app being
39 developed to make it easy to install and run OLSR mesh networking on
40 Android devices. This app is called Commotion Mesh Tether:
42 https://code.commotionwireless.net/projects/commotion-android