aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2018-04-10 17:51:35 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2018-04-10 17:53:09 +0530
commitff9a3d40ef0c082abf221f40bcab1689eb2b5e86 (patch)
tree5c8fca08ba03e95d77ac41f5d6594a379cdf2cad
parent4f9c07ac60b0cc67c42524e751dcc47089cd9f37 (diff)
96boards-hikey*-aosp: delete src from other builds
Change-Id: Ifca37dca39a1ebb6fb5ae5cc6c65d26838868f28 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--96boards-hikey-aosp-master.yaml6
-rw-r--r--96boards-hikey960-aosp-master.yaml6
2 files changed, 4 insertions, 8 deletions
diff --git a/96boards-hikey-aosp-master.yaml b/96boards-hikey-aosp-master.yaml
index 89d916e6cb..8af430a03d 100644
--- a/96boards-hikey-aosp-master.yaml
+++ b/96boards-hikey-aosp-master.yaml
@@ -108,12 +108,10 @@
echo config.txt
export CONFIG=`base64 -w 0 config.txt`
- # Download vendor binaries for hikey.
mkdir -p build
+ # Delete sources before build to save space
cd build/
- wget https://dl.google.com/dl/android/aosp/linaro-hikey-20170523-4b9ebaff.tgz
- tar -xvf linaro-hikey-20170523-4b9ebaff.tgz
- yes "I ACCEPT" | ./extract-linaro-hikey.sh
+ rm -rf art/ dalvik/ kernel/ bionic/ developers/ libcore/ sdk/ bootable/ development/ libnativehelper/ system/ build/ device/ test/ build-info/ docs/ packages/ toolchain/ .ccache/ external/ pdk/ tools/ compatibility/ frameworks/ platform_testing/ vendor/ cts/ hardware/ prebuilts/ linaro*
cd -
# Build Android
diff --git a/96boards-hikey960-aosp-master.yaml b/96boards-hikey960-aosp-master.yaml
index 68394cd9ac..b7ea9eb9e0 100644
--- a/96boards-hikey960-aosp-master.yaml
+++ b/96boards-hikey960-aosp-master.yaml
@@ -78,11 +78,9 @@
# Download vendor binaries for hikey.
mkdir -p build
+ # Delete sources before build to save space
cd build/
- rm -rf *.tgz
- wget https://dl.google.com/dl/android/aosp/arm-hikey960-OPR-cf4e0c80.tgz -O arm-hikey960-OPR-cf4e0c80.tgz
- tar -xvf arm-hikey960-OPR-cf4e0c80.tgz
- yes "I ACCEPT" | ./extract-arm-hikey960.sh
+ rm -rf art/ dalvik/ kernel/ bionic/ developers/ libcore/ sdk/ bootable/ development/ libnativehelper/ system/ build/ device/ test/ build-info/ docs/ packages/ toolchain/ .ccache/ external/ pdk/ tools/ compatibility/ frameworks/ platform_testing/ vendor/ cts/ hardware/ prebuilts/ linaro*
cd -
build-tools/node/build us-east-1.ec2-git-mirror.linaro.org "${CONFIG}"