X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=blobdiff_plain;f=cross-compile%2Fandroid%2FREADME;h=ba6b12085958765cbe5c7987c5deec05c3ea6f92;hp=1b86c45eb47d6416c8fc6284468749e55a19299d;hb=ffbad1654cdd9263a964873d95535ed66a5011b4;hpb=a3f19f5513b3198180ef73c81eda93941ed9eb33 diff --git a/cross-compile/android/README b/cross-compile/android/README index 1b86c45..ba6b120 100644 --- a/cross-compile/android/README +++ b/cross-compile/android/README @@ -16,18 +16,31 @@ Requirements ------------ - bash + - gawk - gcc - make - git - pkg-config (>= 0.22) - - Android NDK (tested: r10c) + - gettext + - ant + - Android NDK (tested: r10e) - Android cross-compile toolchain (tested: arm-linux-androideabi-4.9) - Create it via: - ./build/tools/make-standalone-toolchain.sh \ - --platform=android-16 \ - --toolchain=arm-linux-androideabi-4.9 \ - --install-dir=$HOME/android/android-arm-toolchain - - Android SDK (tested: r23.0.2) + - 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