X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=blobdiff_plain;f=cross-compile%2Fandroid%2FREADME;h=66d0bb0a25d0d9830add4ed7b3c953257d035dea;hp=70544b7618b6bd367cb6527e3165880eae5c17e3;hb=f805ea7aaabe202f1976a4edcdd2ea15bf59d678;hpb=0832e7d675a9ea308ddcafbb2a1ed425c720fa1e diff --git a/cross-compile/android/README b/cross-compile/android/README index 70544b7..66d0bb0 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: r10d) + - Android cross-compile toolchain (tested: arm-linux-androideabi-4.9) + - Android SDK (tested: r23.0.2) + - 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