-
Notifications
You must be signed in to change notification settings - Fork 110
Expand file tree
/
Copy path001.nuke_out.patch
More file actions
executable file
·37 lines (30 loc) · 1.11 KB
/
001.nuke_out.patch
File metadata and controls
executable file
·37 lines (30 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
commit 8e4d926fd0621f40b10c504ab2681416a61d9ad1
Author: Ravindu Deshan <droidcasts@protonmail.com>
Date: Sat Mar 15 14:28:53 2025 +0530
nuke out
diff --git a/build_5.15.sh b/build_5.15.sh
index 765c697..e230740 100755
--- a/build_5.15.sh
+++ b/build_5.15.sh
@@ -15,7 +15,7 @@ if [ ! -f ".requirements" ]; then
fi
# Create necessary directories
-mkdir -p "${KERNEL_ROOT}/out" "${KERNEL_ROOT}/build" "${HOME}/toolchains"
+mkdir -p "${KERNEL_ROOT}/build" "${HOME}/toolchains"
#init neutron-clang
if [ ! -d "${HOME}/toolchains/neutron-clang" ]; then
@@ -45,8 +45,6 @@ export BUILD_CC="${HOME}/toolchains/neutron-clang/bin/clang"
# Build options for the kernel
export BUILD_OPTIONS=(
--C "${KERNEL_ROOT}" \
-O="${KERNEL_ROOT}/out" \
-j$(nproc) \
ARCH=arm64 \
CROSS_COMPILE=${BUILD_CROSS_COMPILE} \
@@ -76,7 +74,7 @@ build_kernel(){
make ${BUILD_OPTIONS} Image || exit 1
# Copy the built kernel to the build directory
- cp "${KERNEL_ROOT}/out/arch/arm64/boot/Image" "${KERNEL_ROOT}/build"
+ cp "${KERNEL_ROOT}/arch/arm64/boot/Image" "${KERNEL_ROOT}/build"
echo -e "\n[INFO]: BUILD FINISHED..!"
}