]> sigrok.org Git - sigrok-util.git/blame - cross-compile/android/README
README: Document NDK/SDK requirements.
[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)
25 Create it via:
26 ./build/tools/make-standalone-toolchain.sh \
27 --platform=android-16 \
28 --toolchain=arm-linux-androideabi-4.9 \
29 --install-dir=$HOME/android/android-arm-toolchain
30 - Android SDK (tested: r23.0.2)
0832e7d6
UH
31
32
33Building
34--------
35
36 $ ./sigrok-cross-android
37
38Per default it expects the Android cross toolchain in:
39
40 $HOME/android/android-arm-toolchain
41
42Per default it will install the cross-compiled packages in:
43
44 $HOME/sr_android
45
46Please edit the script if you want to change any settings.
47