aboutsummaryrefslogtreecommitdiff
path: root/96boards-dragonboard-aosp-master
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2018-04-10 17:48:08 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2018-04-10 17:53:02 +0530
commit4f9c07ac60b0cc67c42524e751dcc47089cd9f37 (patch)
tree106a8eb967fb3a1df2c4b8539e7f4f4b3c2b562e /96boards-dragonboard-aosp-master
parent6073c3509b618af081edd0c81f0f7b746d69635c (diff)
96boards-dragonboard-aosp-master: cleanup source files from other builds
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> Change-Id: I08324ad1ebe48eba209a28467d11295d14fcbf8b
Diffstat (limited to '96boards-dragonboard-aosp-master')
-rwxr-xr-x96boards-dragonboard-aosp-master/builders.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/96boards-dragonboard-aosp-master/builders.sh b/96boards-dragonboard-aosp-master/builders.sh
index 54ef5e44..d3d97afd 100755
--- a/96boards-dragonboard-aosp-master/builders.sh
+++ b/96boards-dragonboard-aosp-master/builders.sh
@@ -5,8 +5,10 @@ if [ ! -f build-configs/${BUILD_CONFIG_FILENAME} ]; then
exit 1
fi
-# Clean android-patchsets and repositories in device
-rm -rf build/out build/android-patchsets build/device
+# Cleanup sources from other builds
+cd build
+rm -rf out 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/
+cd -
# Build Android
build-tools/node/build us-east-1.ec2-git-mirror.linaro.org "${CONFIG}"