]> sigrok.org Git - sigrok-util.git/blob - cross-compile/android/README
1b86c45eb47d6416c8fc6284468749e55a19299d
[sigrok-util.git] / cross-compile / android / README
1 -------------------------------------------------------------------------------
2 README
3 -------------------------------------------------------------------------------
4
5 This is a small script for cross-compiling sigrok and its dependencies
6 for Android systems.
7
8
9 Status
10 ------
11
12 Working.
13
14
15 Requirements
16 ------------
17
18  - bash
19  - gcc
20  - make
21  - git
22  - pkg-config (>= 0.22)
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)
31
32
33 Building
34 --------
35
36  $ ./sigrok-cross-android
37
38 Per default it expects the Android cross toolchain in:
39
40  $HOME/android/android-arm-toolchain
41
42 Per default it will install the cross-compiled packages in:
43
44  $HOME/sr_android
45
46 Please edit the script if you want to change any settings.
47