forked from xiaoleGun/KernelSU_Action
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Lineage21_pstar_docker_lxc.env
78 lines (66 loc) · 2.11 KB
/
Lineage21_pstar_docker_lxc.env
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
CONFIG_ENV=Lineage21_pstar_docker_lxc.env
KERNEL_SOURCE=https://github.com/AndroidAppsUsedByMyself/android_kernel_motorola_sm8250
KERNEL_SOURCE_BRANCH=lineage-21
KERNEL_CONFIG=vendor/lineageos_pstar_defconfig
KERNEL_IMAGE_NAME=Image
ARCH=arm64
ADD_LOCALVERSION_TO_FILENAME=true
EXTRA_CMDS:LD=ld.lld LOCALVERSION=-docker-lxc
# Clang
## Custom
USE_CUSTOM_CLANG=false
CUSTOM_CLANG_SOURCE=
CUSTOM_CLANG_BRANCH=
### if your set USE CUSTOM CLANG to false than DO NOT CHANGE CUSTOM CMDS
CUSTOM_CMDS:CLANG_TRIPLE=aarch64-linux-gnu-
## AOSP
CLANG_BRANCH=android12-release
CLANG_VERSION=r416183b1
# GCC
ENABLE_GCC_ARM64=true
ENABLE_GCC_ARM32=true
USE_CUSTOM_GCC_64=false
CUSTOM_GCC_64_SOURCE=
CUSTOM_GCC_64_BRANCH=
CUSTOM_GCC_64_BIN=aarch64-linux-android-
USE_CUSTOM_GCC_32=false
CUSTOM_GCC_32_SOURCE=
CUSTOM_GCC_32_BRANCH=
CUSTOM_GCC_32_BIN=arm-linux-androideabi-
# KernelSU flags
ENABLE_KERNELSU=false
KERNELSU_TAG=main
KSU_EXPECTED_SIZE=
KSU_EXPECTED_HASH=
# Configuration
DISABLE-LTO=false
DISABLE_CC_WERROR=false
ADD_KPROBES_CONFIG=false
ADD_OVERLAYFS_CONFIG=false
APPLY_KSU_PATCH=false
REMOVE_UNUSED_PACKAGES=true
# AnyKernel3
## AnyKernel3 Custom
USE_CUSTOM_ANYKERNEL3=false
CUSTOM_ANYKERNEL3_SOURCE=
CUSTOM_ANYKERNEL3_BRANCH=
# Ccache
ENABLE_CCACHE=true
# DTBO image
NEED_DTBO=false
# Build boot images
BUILD_BOOT_IMG=true
SOURCE_BOOT_IMAGE=https://raw.githubusercontent.com/AndroidAppsUsedByMyself/KernelSU_action/Lineage21_pstar_with_official_KernelSU/boot/Lineage21_pstar_origin_boot.img
# Addon Config
# We will add it by ourselves because auto import will cause boot failed on the kernel source
IMPORT_DOCKER=false
Kernel_Version=4.19
Kernel_Extra_Version=4.19.157
Remove_Kernel_Validation=true
Backport_path_umount=true
Remove_Warning=true
Docker_LXC_Patches=true
Remove_ANDROID_PARANOID_NETWORK=true
Add_Kali_Nethunter_Patches=false
Generate_Build_Config=true
Generate_Build_Config_Command:cat arch/arm64/configs/vendor/kona-perf_defconfig arch/arm64/configs/vendor/ext_config/moto-kona.config arch/arm64/configs/vendor/ext_config/pstar-default.config arch/arm64/configs/vendor/debugfs.config >> arch/arm64/configs/vendor/lineageos_pstar_defconfig