Android
Revision as of 13:24, 18 January 2013 by Uwe Hermann (talk | contribs) (Created page with "== Building from source == === Requirements === * Android NDK == Initial setup == First, download the latest [http://developer.android.com/tools/sdk/ndk/index.html Android...")
Building from source
Requirements
- Android NDK
Initial setup
First, download the latest Android NDK and extract it, e.g. in $HOME/android.
$ cd $HOME $ mkdir android $ cd android $ wget http://dl.google.com/android/ndk/android-ndk-r8d-linux-x86.tar.bz2 $ tar xfvj android-ndk-r8d-linux-x86.tar.bz2
Now setup the path to the respective toolchain:
$ export PATH=$HOME/android/android-ndk-r8d/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86/bin:$PATH'
libsigrok
In a temporary build directory we can now build (the install directory will be $HOME/sr_android):
$ git clone git://sigrok.org/libsigrok $ ./configure --host=arm-linux-androideabi --prefix=$HOME/sr_android $ make $ make install