]> sigrok.org Git - sigrok-util.git/blame - cross-compile/android/README
sigrok-cross-android: Build boost thread (needed by PulseView).
[sigrok-util.git] / cross-compile / android / README
CommitLineData
0832e7d6
UH
1-------------------------------------------------------------------------------
2README
3-------------------------------------------------------------------------------
4
5This is a small script for cross-compiling sigrok and its dependencies
6for Android systems.
7
8
9Status
10------
11
6e15e874 12Working.
0832e7d6
UH
13
14
15Requirements
16------------
17
18 - bash
19 - gcc
20 - make
21 - git
22 - pkg-config (>= 0.22)
a3f19f55
UH
23 - Android NDK (tested: r10c)
24 - Android cross-compile toolchain (tested: arm-linux-androideabi-4.9)
a3f19f55 25 - Android SDK (tested: r23.0.2)
0832e7d6
UH
26
27
3bdccc55
UH
28Toolchain setup
29---------------
30
31You can use the script to install and setup the Android NDK,
32SDK, and the respective standalone toolchain:
33
34 $ ./sigrok-cross-android prepare
35
36This will install everything into $HOME/android.
37
38
0832e7d6
UH
39Building
40--------
41
42 $ ./sigrok-cross-android
43
44Per default it expects the Android cross toolchain in:
45
46 $HOME/android/android-arm-toolchain
47
48Per default it will install the cross-compiled packages in:
49
50 $HOME/sr_android
51
52Please edit the script if you want to change any settings.
53