Skip to content

Commit 3d7fcd7

Browse files
authored
Update config.env
1 parent e112676 commit 3d7fcd7

1 file changed

Lines changed: 46 additions & 52 deletions

File tree

config.env

Lines changed: 46 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,46 @@
1-
# Kernel Information
2-
KERNEL_SOURCE=https://github.com/MrShockWAVEE/Proton_kernel_Xioami_mt6768
3-
KERNEL_SOURCE_BRANCH=ShockWAVE-Tree-WIP
4-
KERNEL_CONFIG=lancelot_defconfig
5-
KERNEL_IMAGE_NAME=Image.gz-dtb
6-
KERNEL_ARCH=arm64
7-
8-
# Kernel Configuration
9-
ENABLE_KERNELSU=true
10-
KERNELSU_TAG=
11-
KSU_EXPECTED_SIZE=
12-
KSU_EXPECTED_HASH=
13-
KSU_REVERT=false
14-
ADD_KPROBES_CONFIG=false
15-
KSU_HOOKS_PATCH=false
16-
ADD_OVERLAYFS_CONFIG=true
17-
ADD_APATCH=true
18-
ADD_ANDROID_SUPPORT=true
19-
20-
# Compiler Settings
21-
USE_CUSTOM_CLANG=true
22-
CUSTOM_CLANG_SOURCE=https://github.com/ZyCromerZ/Clang/releases/download/21.0.0git-20250425-release/Clang-21.0.0git-20250425.tar.gz
23-
CUSTOM_CLANG_BRANCH=
24-
CLANG_BRANCH=master
25-
CLANG_VERSION=r416183b
26-
USE_CUSTOM_GCC=false
27-
USE_CUSTOM_GCC_64=true
28-
CUSTOM_GCC_64_SOURCE=https://snapshots.linaro.org/gnu-toolchain/14.0-2023.06-1/aarch64-linux-gnu/gcc-linaro-14.0.0-2023.06-x86_64_aarch64-linux-gnu.tar.xz
29-
CUSTOM_GCC_64_BRANCH=
30-
USE_CUSTOM_GCC_32=true
31-
CUSTOM_GCC_32_SOURCE=https://snapshots.linaro.org/gnu-toolchain/14.0-2023.06-1/arm-linux-gnueabihf/gcc-linaro-14.0.0-2023.06-x86_64_arm-linux-gnueabihf.tar.xz
32-
CUSTOM_GCC_32_BRANCH=
33-
ENABLE_GCC_AOSP=false
34-
ENABLE_GCC_ARM64=true
35-
ENABLE_GCC_ARM32=true
36-
37-
# Build Settings
38-
BUILD_BOOT_IMG=true
39-
SOURCE_BOOT_IMAGE=https://raw.githubusercontent.com/xiaoleGun/KernelSU_action/main/boot/boot.img
40-
NEED_DTBO=false
41-
DISABLE_LTO=false
42-
DISABLE_THINLTO=true
43-
DISABLE_CC_WERROR=false
44-
FIX_WIFI=false
45-
REMOVE_UNUSED_PACKAGES=false
46-
ENABLE_CCACHE=false
47-
ADD_LOCALVERSION_TO_FILENAME=false
48-
49-
# AnyKernel3 Settings
50-
USE_CUSTOM_ANYKERNEL3=true
51-
CUSTOM_ANYKERNEL3_SOURCE=https://github.com/Edhic1/AnyKernel3.git
52-
CUSTOM_ANYKERNEL3_BRANCH=master
1+
# Kernel source
2+
KERNEL_SOURCE="https://github.com/MrShockWAVEE/Proton_kernel_Xioami_mt6768"
3+
KERNEL_SOURCE_BRANCH="ShockWAVE-Tree-WIP"
4+
KERNEL_CONFIG="lancelot_defconfig"
5+
KERNEL_IMAGE_NAME="Image.gz-dtb"
6+
KERNEL_ARCH="arm64"
7+
8+
# Optional: kernel boot image source (if needed for patching)
9+
SOURCE_BOOT_IMAGE="https://raw.githubusercontent.com/xiaoleGun/KernelSU_action/main/boot/boot.img"
10+
11+
# Toolchain (Clang/GCC) options
12+
USE_CUSTOM_CLANG="true"
13+
CUSTOM_CLANG_SOURCE="https://github.com/ZyCromerZ/Clang/releases/download/21.0.0git-20250425-release/Clang-21.0.0git-20250425.tar.gz"
14+
15+
USE_CUSTOM_GCC="false"
16+
USE_CUSTOM_GCC_64="true"
17+
CUSTOM_GCC_64_SOURCE="https://snapshots.linaro.org/gnu-toolchain/14.0-2023.06-1/aarch64-linux-gnu/gcc-linaro-14.0.0-2023.06-x86_64_aarch64-linux-gnu.tar.xz"
18+
19+
USE_CUSTOM_GCC_32="true"
20+
CUSTOM_GCC_32_SOURCE="https://snapshots.linaro.org/gnu-toolchain/14.0-2023.06-1/arm-linux-gnueabihf/gcc-linaro-14.0.0-2023.06-x86_64_arm-linux-gnueabihf.tar.xz"
21+
22+
# Optional: AOSP prebuilt fallback Clang
23+
CLANG_BRANCH="master-kernel-build-2022"
24+
CLANG_VERSION="r450784e"
25+
ENABLE_GCC_AOSP="false"
26+
ENABLE_GCC_ARM64="true"
27+
ENABLE_GCC_ARM32="true"
28+
29+
# AnyKernel3 packaging
30+
USE_CUSTOM_ANYKERNEL3="true"
31+
CUSTOM_ANYKERNEL3_SOURCE="https://github.com/Edhic1/AnyKernel3.git"
32+
CUSTOM_ANYKERNEL3_BRANCH="master"
33+
34+
# Optional: build DTBO or boot.img
35+
BUILD_BOOT_IMG="false"
36+
NEED_DTBO="false"
37+
38+
# Flags and compiler options
39+
REMOVE_UNUSED_PACKAGES="false"
40+
ENABLE_CCACHE="false"
41+
DISABLE_LTO="false"
42+
DISABLE_CC_WERROR="false"
43+
FIX_WIFI_SPEED="false"
44+
45+
# Extra make flags (quoted)
46+
EXTRA_CMDS='LLVM=1 LLVM_IAS=1 LD=ld.lld AS=llvm-as AR=llvm-ar NM=llvm-nm OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump READELF=llvm-readelf STRIP=llvm-strip CROSS_COMPILE=aarch64-linux-gnu- CROSS_COMPILE_ARM32=arm-linux-gnueabi- CROSS_COMPILE_COMPAT=arm-linux-gnueabi- CONFIG_NO_ERROR_ON_MISMATCH=y TARGET_BUILD_VARIANT=user'

0 commit comments

Comments
 (0)