From bae7be5d3fd6b541a31f52ab65881479db527610 Mon Sep 17 00:00:00 2001 From: ambatubash69 Date: Mon, 23 Dec 2024 15:24:50 +0800 Subject: [PATCH] Update build.sh --- build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.sh b/build.sh index 5177aff..c7f5427 100644 --- a/build.sh +++ b/build.sh @@ -66,6 +66,11 @@ git clone --depth=1 "$ANYKERNEL_REPO" -b "$ANYKERNEL_BRANCH" "$WORK_DIR/anykerne repo init --depth 1 "$CUSTOM_MANIFEST_REPO" -b "$CUSTOM_MANIFEST_BRANCH" repo sync -j$(nproc --all) --force-sync +if [ "$USE_CUSTOM_CLANG" == "true" ]; then + # Import patched _setup_env.sh + curl -s https://raw.githubusercontent.com/ambatubash69/kranul_build_script/refs/heads/main/_setup_env.sh >$WORK_DIR/build/_setup_env.sh +fi + ## Extract kernel version, git commit string cd "$WORK_DIR/common" KERNEL_VERSION=$(make kernelversion)