move stuff into .android
This simplifies my schroot bind mounts
This commit is contained in:
parent
a143ab4451
commit
5600aee90b
2 changed files with 6 additions and 3 deletions
|
@ -6,12 +6,12 @@ ANDROID_CROSS_COMPILER?=$(HOME)/.ghc/android-14/arm-linux-androideabi-4.7/bin
|
||||||
PATH:=$(ANDROID_CROSS_COMPILER):$(PATH)
|
PATH:=$(ANDROID_CROSS_COMPILER):$(PATH)
|
||||||
|
|
||||||
# Paths to the Android SDK and NDK.
|
# Paths to the Android SDK and NDK.
|
||||||
export ANDROID_SDK_ROOT?=$(HOME)/adt-bundle-linux-x86/sdk
|
export ANDROID_SDK_ROOT?=$(HOME)/.android/adt-bundle-linux-x86/sdk
|
||||||
export ANDROID_NDK_ROOT?=$(HOME)/android-ndk
|
export ANDROID_NDK_ROOT?=$(HOME)/.android/android-ndk
|
||||||
|
|
||||||
# Where to store the source tree used to build utilities. This
|
# Where to store the source tree used to build utilities. This
|
||||||
# directory will be created by `make source`.
|
# 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
|
GITTREE=$(GIT_ANNEX_ANDROID_SOURCETREE)/git/installed-tree
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,8 @@ cabal update
|
||||||
cabal install happy alex --bindir=$HOME/bin
|
cabal install happy alex --bindir=$HOME/bin
|
||||||
PATH=$HOME/bin:$PATH
|
PATH=$HOME/bin:$PATH
|
||||||
export PATH
|
export PATH
|
||||||
|
mkdir -p .android
|
||||||
|
cd .android
|
||||||
git clone https://github.com/joeyh/ghc-android
|
git clone https://github.com/joeyh/ghc-android
|
||||||
cd ghc-android
|
cd ghc-android
|
||||||
git checkout stable-ghc-snapshot
|
git checkout stable-ghc-snapshot
|
||||||
|
@ -30,6 +32,7 @@ rm -rf adt-bundle-linux-x86/eclipse
|
||||||
ln -s arm-linux-androideabi-gcc \
|
ln -s arm-linux-androideabi-gcc \
|
||||||
$HOME/.ghc/android-14/arm-linux-androideabi-4.7/bin/cc
|
$HOME/.ghc/android-14/arm-linux-androideabi-4.7/bin/cc
|
||||||
|
|
||||||
|
cd
|
||||||
git clone git://git-annex.branchable.com/ git-annex
|
git clone git://git-annex.branchable.com/ git-annex
|
||||||
|
|
||||||
git config --global user.email androidbuilder@example.com
|
git config --global user.email androidbuilder@example.com
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue