]>
Commit | Line | Data |
---|---|---|
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 | - Android SDK (tested: r23.0.2) | |
26 | ||
27 | ||
28 | Toolchain setup | |
29 | --------------- | |
30 | ||
31 | You can use the script to install and setup the Android NDK, | |
32 | SDK, and the respective standalone toolchain: | |
33 | ||
34 | $ ./sigrok-cross-android prepare | |
35 | ||
36 | This will install everything into $HOME/android. | |
37 | ||
38 | ||
39 | Building | |
40 | -------- | |
41 | ||
42 | $ ./sigrok-cross-android | |
43 | ||
44 | Per default it expects the Android cross toolchain in: | |
45 | ||
46 | $HOME/android/android-arm-toolchain | |
47 | ||
48 | Per default it will install the cross-compiled packages in: | |
49 | ||
50 | $HOME/sr_android | |
51 | ||
52 | Please edit the script if you want to change any settings. | |
53 |