diff options
author | Joey Hess <joey@kitenet.net> | 2013-02-25 22:41:54 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-02-25 22:41:54 -0400 |
commit | bab746cdce92c5986f1cdb42f74514845bc1204f (patch) | |
tree | 17bc3495f2585b85d3a843b2e095e4a70308d4d7 | |
parent | afc8c9305d2702491986f886c4765aeda49419be (diff) |
parameterize paths
-rw-r--r-- | standalone/android/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/standalone/android/Makefile b/standalone/android/Makefile index ff5b4e1c2..40360ffb1 100644 --- a/standalone/android/Makefile +++ b/standalone/android/Makefile @@ -4,11 +4,12 @@ # Add Android cross-compiler to PATH (as installed by ghc-android) # (This directory also needs to have a cc that is a symlink to the prefixed # gcc cross-compiler executable.) -PATH:=$(HOME)/.ghc/android-14/arm-linux-androideabi-4.7/bin:$(PATH) +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)/tmp/adt-bundle-linux-x86/sdk -export ANDROID_NDK_ROOT=$(HOME)/tmp/android-ndk-r8d +export ANDROID_SDK_ROOT?=$(HOME)/tmp/adt-bundle-linux-x86/sdk +export ANDROID_NDK_ROOT?=$(HOME)/tmp/android-ndk-r8d GITTREE=source/git/installed-tree |