aboutsummaryrefslogtreecommitdiff
path: root/build-scripts/helpers
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2014-03-14 11:31:15 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2014-03-14 11:46:11 +0530
commitcb4159f21b244e325fee2c1efeaefddf72a0f87d (patch)
treee16e84521af1fb1f89ca5f927e9cf0468c5d2522 /build-scripts/helpers
parent02ea29c2844ad7a4d8aa8b18c29eaca268b46508 (diff)
Don't copy complete source while doing kernel build
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'build-scripts/helpers')
-rw-r--r--build-scripts/helpers5
1 files changed, 4 insertions, 1 deletions
diff --git a/build-scripts/helpers b/build-scripts/helpers
index 7fc2a87..80b09dd 100644
--- a/build-scripts/helpers
+++ b/build-scripts/helpers
@@ -36,7 +36,10 @@ repo-sync-stubborn () {
repo-sync-from-mirror () {
setup-repo-vars
- time cp -r /AndroidSource/.repo/ .
+ 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