X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=blobdiff_plain;f=cross-compile%2Fandroid%2FREADME;h=ba6b12085958765cbe5c7987c5deec05c3ea6f92;hp=70544b7618b6bd367cb6527e3165880eae5c17e3;hb=8cf06ef35373da908f1a19e9a32a7939dc30f636;hpb=0832e7d675a9ea308ddcafbb2a1ed425c720fa1e;ds=sidebyside diff --git a/cross-compile/android/README b/cross-compile/android/README index 70544b7..ba6b120 100644 --- a/cross-compile/android/README +++ b/cross-compile/android/README @@ -9,18 +9,38 @@ for Android systems. Status ------ -Work in progress. This does NOT yet fully work. +Working. Requirements ------------ - bash + - gawk - gcc - make - git - pkg-config (>= 0.22) - - Android cross-compile toolchain + - gettext + - ant + - Android NDK (tested: r10e) + - Android cross-compile toolchain (tested: arm-linux-androideabi-4.9) + - Android SDK (tested: r24.4.1) + - On 64bit hosts, you also need some i386 packages. E.g. on Debian/Ubuntu: + $ dpkg --add-architecture i386 + $ apt-get update + $ apt-get install libstdc++6:i386 zlib1g:i386 + + +Toolchain setup +--------------- + +You can use the script to install and setup the Android NDK, +SDK, and the respective standalone toolchain: + + $ ./sigrok-cross-android prepare + +This will install everything into $HOME/android. Building