aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2017-03-27 10:21:02 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2017-03-27 04:51:52 +0000
commit079cdf4aa9f8b17bcb525540e4861a7b96c88254 (patch)
tree194621fbc19cc9c4e07addf8a499adb0e7095cfb
parent66ca2106195b67564921b4423c289a77f0e4d7cf (diff)
downloadlinaro-android-build-tools-079cdf4aa9f8b17bcb525540e4861a7b96c88254.tar.gz
build-android: fix clang based build
Change-Id: Ia20c7dbdd379b5ce836bb122f374e6cf57073cc7 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--build-scripts/build-android2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-scripts/build-android b/build-scripts/build-android
index ab87365..f0d9563 100644
--- a/build-scripts/build-android
+++ b/build-scripts/build-android
@@ -211,7 +211,7 @@ else
ANDROID_CLANGVER=$(gawk '{ if ($1 == "LLVM_PREBUILTS_VERSION") print $3 }' $PWD/build/core/clang/versions.mk)
[ -z $ANDROID_CLANGVER ] && ANDROID_CLANGVER=clang-3217047 # aosp prebuilt build number at 2016/10/20 master
mkdir -p upstream_clang/linux-x86/$ANDROID_CLANGVER/
- cp -r $(basename ${CLANG_TOOLCHAIN_URL})/* upstream_clang/linux-x86/$ANDROID_CLANGVER/
+ cp -r $(basename ${CLANG_TOOLCHAIN_URL} .tar.xz)/* upstream_clang/linux-x86/$ANDROID_CLANGVER/
export LLVM_PREBUILTS_BASE=${PWD}/upstream_clang/
fi