1 -------------------------------------------------------------------------------
3 -------------------------------------------------------------------------------
5 This is a small script for cross-compiling sigrok and its dependencies
23 - pkg-config (>= 0.22)
26 - Android NDK (tested: r10c)
27 - Android cross-compile toolchain (tested: arm-linux-androideabi-4.9)
28 - Android SDK (tested: r23.0.2)
29 - On 64bit hosts, you also need some i386 packages. E.g. on Debian/Ubuntu:
30 $ dpkg --add-architecture i386
32 $ apt-get install libstdc++6:i386 zlib1g:i386
38 You can use the script to install and setup the Android NDK,
39 SDK, and the respective standalone toolchain:
41 $ ./sigrok-cross-android prepare
43 This will install everything into $HOME/android.
49 $ ./sigrok-cross-android
51 Per default it expects the Android cross toolchain in:
53 $HOME/android/android-arm-toolchain
55 Per default it will install the cross-compiled packages in:
59 Please edit the script if you want to change any settings.