aboutsummaryrefslogtreecommitdiff
path: root/build-scripts/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'build-scripts/helpers')
-rw-r--r--build-scripts/helpers3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-scripts/helpers b/build-scripts/helpers
index 5a2ad9d..9eb2b0d 100644
--- a/build-scripts/helpers
+++ b/build-scripts/helpers
@@ -1,6 +1,7 @@
# Set REPO_MIRROR to non-empty value to get around upstream downtimes
#REPO_MIRROR="--repo-url=http://android.git.linaro.org/git-ro/tools/repo"
REPO_MIRROR="--repo-url=git://android.git.linaro.org/tools/repo"
+REPO_REFERENCE="/home/buildslave/aosp/mirror"
setup-repo-vars () {
EABI="${EABI-arm-eabi}"
@@ -36,7 +37,7 @@ repo-sync-stubborn () {
repo-sync-from-mirror () {
setup-repo-vars
- repo init $REPO_QUIET -u "${MANIFEST_REPO}" -b "${MANIFEST_BRANCH}" -m "${MANIFEST_FILENAME}" $REPO_MIRROR -g $REPO_GROUPS
+ repo init $REPO_QUIET -u "${MANIFEST_REPO}" -b "${MANIFEST_BRANCH}" -m "${MANIFEST_FILENAME}" $REPO_MIRROR -g $REPO_GROUPS --reference $REPO_REFERENCE
# Save input manifest as build artifact for reference
mkdir -p out
cp .repo/manifest.xml out/source-manifest.xml