diff options
Diffstat (limited to 'standalone/android/buildchroot-inchroot-asuser')
-rwxr-xr-x | standalone/android/buildchroot-inchroot-asuser | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/standalone/android/buildchroot-inchroot-asuser b/standalone/android/buildchroot-inchroot-asuser index 662912246..37c0c24c6 100755 --- a/standalone/android/buildchroot-inchroot-asuser +++ b/standalone/android/buildchroot-inchroot-asuser @@ -12,3 +12,19 @@ git clone https://github.com/joeyh/ghc-android cd ghc-android git checkout stable-ghc-snapshot ./build + +# Set up android SDK where the git-annex android Makefile +# expects to find it. +cd .. +ln -s ghc-android/android-ndk-* android-ndk +wget http://dl.google.com/android/adt/adt-bundle-linux-x86-20130917.zip +unzip adt*.zip +rm adt*.zip +mv adt-bundle-linux-x86-* adt-bundle-linux-x86 +rm -rf adt-bundle-linux-x86/eclipse + +# The git-annex android Makefile needs this cc symlink. +ln -s arm-linux-androideabi-gcc \ + $HOME/.ghc/android-14/arm-linux-androideabi-4.7/bin/cc + +git clone git://git-annex.branchable.com/ git-annex |