From 57c256f5d36610c2cb9f557f3ba5ff07368a8ad8 Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Sat, 7 Dec 2024 18:57:14 +0100 Subject: [PATCH] kernel_build: build-ksu.sh: Switch up to clang-r536225 from crdroidandroid gitlab --- kernel_build/build-ksu.sh | 10 +++++----- kernel_build/build.sh | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/kernel_build/build-ksu.sh b/kernel_build/build-ksu.sh index a2ec8caee..66741a604 100755 --- a/kernel_build/build-ksu.sh +++ b/kernel_build/build-ksu.sh @@ -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 diff --git a/kernel_build/build.sh b/kernel_build/build.sh index 746ce76f5..250c26734 100755 --- a/kernel_build/build.sh +++ b/kernel_build/build.sh @@ -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