aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2014-03-13 22:55:29 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2014-03-14 11:27:31 +0530
commit02ea29c2844ad7a4d8aa8b18c29eaca268b46508 (patch)
tree01be2795adeedd1c243e153dd0784e0227618f6b
parentfff8bc66add66f74f54127b129a9decac94d8528 (diff)
downloadl-a-b-VPS-02ea29c2844ad7a4d8aa8b18c29eaca268b46508.tar.gz
Enable CCACHE
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--build-scripts/build-android5
1 files changed, 5 insertions, 0 deletions
diff --git a/build-scripts/build-android b/build-scripts/build-android
index 8ec53fd..001aebc 100644
--- a/build-scripts/build-android
+++ b/build-scripts/build-android
@@ -66,6 +66,11 @@ else
export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.22/
export ANDROID_JAVA_HOME=$JAVA_HOME
+ # Setup CCACHE to be used between different builds
+ export USE_CCACHE=1
+ export CCACHE_DIR=/Android/ccache
+ prebuilts/misc/linux-x86/ccache/ccache -M 75G
+
MAKE_TARGETS="${MAKE_TARGETS-boottarball systemtarball userdatatarball}"
calc_make_jobs