aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2014-03-14 21:53:25 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2014-03-14 22:11:13 +0530
commitc91005f829d9e610356d6d3d910835f785a07fca (patch)
tree8b3170ce97a3e870cd237891cedf54253f0ea3f7
parent68f3c0400f0793585426a4f4aecb3f652e5c1c60 (diff)
Changes to build on VPSHEADmaster
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--build-scripts/helpers6
1 files changed, 5 insertions, 1 deletions
diff --git a/build-scripts/helpers b/build-scripts/helpers
index 5a2ad9d..a418b4e 100644
--- a/build-scripts/helpers
+++ b/build-scripts/helpers
@@ -36,6 +36,10 @@ repo-sync-stubborn () {
repo-sync-from-mirror () {
setup-repo-vars
+ if [ "$MAKE_TARGETS" != "combine_kernel_prebuilt" ]; then
+ time cp -r /AndroidSource/.repo/ .
+ fi
+
repo init $REPO_QUIET -u "${MANIFEST_REPO}" -b "${MANIFEST_BRANCH}" -m "${MANIFEST_FILENAME}" $REPO_MIRROR -g $REPO_GROUPS
# Save input manifest as build artifact for reference
mkdir -p out
@@ -90,7 +94,7 @@ repo-sync-from-seed () {
calc_make_jobs () {
if [ -z "$MAKE_JOBS" ]; then
cpuc=`cat /proc/cpuinfo | grep processor | wc -l`
- MAKE_JOBS=$(($cpuc * 4))
+ MAKE_JOBS=6
fi
}