kernel_build: build-ksu.sh: Switch up to clang-r536225 from crdroidandroid gitlab
This commit is contained in:
parent
b949395346
commit
57c256f5d3
2 changed files with 10 additions and 10 deletions
|
@ -56,18 +56,18 @@ kfinish
|
|||
DIR="$(readlink -f .)"
|
||||
PARENT_DIR="$(readlink -f ${DIR}/..)"
|
||||
|
||||
export CROSS_COMPILE="$PARENT_DIR/clang-r475365b/bin/aarch64-linux-gnu-"
|
||||
export CC="$PARENT_DIR/clang-r475365b/bin/clang"
|
||||
export CROSS_COMPILE="$PARENT_DIR/clang-r536225/bin/aarch64-linux-gnu-"
|
||||
export CC="$PARENT_DIR/clang-r536225/bin/clang"
|
||||
|
||||
export PLATFORM_VERSION=12
|
||||
export ANDROID_MAJOR_VERSION=s
|
||||
export PATH="$PARENT_DIR/build-tools/path/linux-x86:$PARENT_DIR/clang-r475365b/bin:$PATH"
|
||||
export PATH="$PARENT_DIR/build-tools/path/linux-x86:$PARENT_DIR/clang-r536225/bin:$PATH"
|
||||
export TARGET_SOC=s5e8825
|
||||
export LLVM=1 LLVM_IAS=1
|
||||
export ARCH=arm64
|
||||
|
||||
if [ ! -d "$PARENT_DIR/clang-r475365b" ]; then
|
||||
git clone -j$(nproc --all) https://github.com/Ksawlii-Android-Repos/android_prebuilts_clang_host_linux-x86_clang-r475365b.git "$PARENT_DIR/clang-r475365b" --depth=1
|
||||
if [ ! -d "$PARENT_DIR/clang-r536225" ]; then
|
||||
git clone -j$(nproc --all) https://gitlab.com/crdroidandroid/android_prebuilts_clang_host_linux-x86_clang-r536225.git "$PARENT_DIR/clang-r536225" --depth=1
|
||||
fi
|
||||
|
||||
if [ ! -d "$PARENT_DIR/build-tools" ]; then
|
||||
|
|
|
@ -56,18 +56,18 @@ kfinish
|
|||
DIR="$(readlink -f .)"
|
||||
PARENT_DIR="$(readlink -f ${DIR}/..)"
|
||||
|
||||
export CROSS_COMPILE="$PARENT_DIR/clang-r475365b/bin/aarch64-linux-gnu-"
|
||||
export CC="$PARENT_DIR/clang-r475365b/bin/clang"
|
||||
export CROSS_COMPILE="$PARENT_DIR/clang-r536225/bin/aarch64-linux-gnu-"
|
||||
export CC="$PARENT_DIR/clang-r536225/bin/clang"
|
||||
|
||||
export PLATFORM_VERSION=12
|
||||
export ANDROID_MAJOR_VERSION=s
|
||||
export PATH="$PARENT_DIR/build-tools/path/linux-x86:$PARENT_DIR/clang-r475365b/bin:$PATH"
|
||||
export PATH="$PARENT_DIR/build-tools/path/linux-x86:$PARENT_DIR/clang-r536225/bin:$PATH"
|
||||
export TARGET_SOC=s5e8825
|
||||
export LLVM=1 LLVM_IAS=1
|
||||
export ARCH=arm64
|
||||
|
||||
if [ ! -d "$PARENT_DIR/clang-r475365b" ]; then
|
||||
git clone -j$(nproc --all) https://github.com/Ksawlii-Android-Repos/android_prebuilts_clang_host_linux-x86_clang-r475365b.git "$PARENT_DIR/clang-r475365b" --depth=1
|
||||
if [ ! -d "$PARENT_DIR/clang-r536225" ]; then
|
||||
git clone -j$(nproc --all) https://gitlab.com/crdroidandroid/android_prebuilts_clang_host_linux-x86_clang-r536225.git "$PARENT_DIR/clang-r536225" --depth=1
|
||||
fi
|
||||
|
||||
if [ ! -d "$PARENT_DIR/build-tools" ]; then
|
||||
|
|
Loading…
Reference in a new issue