]>
Commit | Line | Data |
---|---|---|
0832e7d6 UH |
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 | ||
6e15e874 | 12 | Working. |
0832e7d6 UH |
13 | |
14 | ||
15 | Requirements | |
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 |
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 | ||
0832e7d6 UH |
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 |