aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinSeong Kim <minseong.kim@linaro.org>2017-11-27 06:48:10 +0000
committerMinSeong Kim <minseong.kim@linaro.org>2017-11-27 07:00:12 +0000
commit6a91ee38888f05c87d952fec5be7942fd6b426e5 (patch)
treeae34fed33b61f4e53b21f7125d0ea65f62d5cc61
parentdddb0f35b68266da80727645e3e2a69c0e3bcb08 (diff)
downloadlinaro-android-build-tools-6a91ee38888f05c87d952fec5be7942fd6b426e5.tar.gz
Update for aosp master build with clang master
Make symbolic links instead of copying due to changes that will be made after copies. Change-Id: I028b5ca8835a0b57864706bf5b57449ba9d0ad6f
-rw-r--r--build-scripts/build-android5
1 files changed, 3 insertions, 2 deletions
diff --git a/build-scripts/build-android b/build-scripts/build-android
index 1dde60a..10512b2 100644
--- a/build-scripts/build-android
+++ b/build-scripts/build-android
@@ -213,8 +213,9 @@ else
mkdir -p $PWD/prebuilts/clang/host/linux-x86/clang-master
cp -r external_tarballs/$(basename ${CLANG_TOOLCHAIN_URL} .tar.xz)/* $PWD/prebuilts/clang/host/linux-x86/clang-master/
for i in lib64 prebuilt_include test; do
- mkdir -p $PWD/prebuilts/clang/host/linux-x86/clang-master/${i}
- cp -af $PWD/prebuilts/clang/host/linux-x86/$ANDROID_CLANGVER/${i}/* $PWD/prebuilts/clang/host/linux-x86/clang-master/${i}/
+ # mkdir -p $PWD/prebuilts/clang/host/linux-x86/clang-master/${i}
+ # cp -af $PWD/prebuilts/clang/host/linux-x86/$ANDROID_CLANGVER/${i}/* $PWD/prebuilts/clang/host/linux-x86/clang-master/${i}/
+ ln -s $PWD/prebuilts/clang/host/linux-x86/$ANDROID_CLANGVER/${i} $PWD/prebuilts/clang/host/linux-x86/clang-master/${i}
done
export LLVM_PREBUILTS_VERSION=clang-master
fi