move stuff into .android

This simplifies my schroot bind mounts
This commit is contained in:
Joey Hess 2013-09-23 14:20:13 -04:00
parent a143ab4451
commit 5600aee90b
2 changed files with 6 additions and 3 deletions

View file

@ -6,12 +6,12 @@ ANDROID_CROSS_COMPILER?=$(HOME)/.ghc/android-14/arm-linux-androideabi-4.7/bin
PATH:=$(ANDROID_CROSS_COMPILER):$(PATH)
# Paths to the Android SDK and NDK.
export ANDROID_SDK_ROOT?=$(HOME)/adt-bundle-linux-x86/sdk
export ANDROID_NDK_ROOT?=$(HOME)/android-ndk
export ANDROID_SDK_ROOT?=$(HOME)/.android/adt-bundle-linux-x86/sdk
export ANDROID_NDK_ROOT?=$(HOME)/.android/android-ndk
# Where to store the source tree used to build utilities. This
# directory will be created by `make source`.
GIT_ANNEX_ANDROID_SOURCETREE?=$(HOME)/android-sourcetree
GIT_ANNEX_ANDROID_SOURCETREE?=$(HOME)/.android/git-annex-sourcetree
GITTREE=$(GIT_ANNEX_ANDROID_SOURCETREE)/git/installed-tree

View file

@ -8,6 +8,8 @@ cabal update
cabal install happy alex --bindir=$HOME/bin
PATH=$HOME/bin:$PATH
export PATH
mkdir -p .android
cd .android
git clone https://github.com/joeyh/ghc-android
cd ghc-android
git checkout stable-ghc-snapshot
@ -30,6 +32,7 @@ rm -rf adt-bundle-linux-x86/eclipse
ln -s arm-linux-androideabi-gcc \
$HOME/.ghc/android-14/arm-linux-androideabi-4.7/bin/cc
cd
git clone git://git-annex.branchable.com/ git-annex
git config --global user.email androidbuilder@example.com