summaryrefslogtreecommitdiff
path: root/standalone/android/buildchroot-inchroot-asuser
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-09-22 22:23:08 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-09-22 22:23:08 -0400
commit91b8236c47e5a4368650ab88e519d04a752e1fd8 (patch)
treed1bb1bfbf422bf68948b42de0e857384c5f4b32c /standalone/android/buildchroot-inchroot-asuser
parent7fbabbed47c2428547b303e96d68e30d6026f257 (diff)
working on getting make androidapp to work now
Diffstat (limited to 'standalone/android/buildchroot-inchroot-asuser')
-rwxr-xr-xstandalone/android/buildchroot-inchroot-asuser16
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