mirror of
https://github.com/Dichgrem/GKI-build.git
synced 2025-12-16 13:42:00 -05:00
feat:lto_level
This commit is contained in:
10
.github/workflows/build-gki-kernel.yml
vendored
10
.github/workflows/build-gki-kernel.yml
vendored
@@ -25,6 +25,14 @@ on:
|
||||
- kernelsu
|
||||
- kernelsu-next
|
||||
- none
|
||||
lto_solution:
|
||||
description: "Select the level of lto"
|
||||
required: false
|
||||
default: "thin"
|
||||
type: choice
|
||||
options:
|
||||
- thin
|
||||
- full
|
||||
kernel_name:
|
||||
description: "Custom kernel name (optional)"
|
||||
required: false
|
||||
@@ -211,7 +219,7 @@ jobs:
|
||||
export KERNEL_DEFCONFIG=config_defconfig
|
||||
|
||||
# 默认 LTO 为 thin
|
||||
export LTO="${LTO:-thin}"
|
||||
export LTO="${{ inputs.lto_solution || 'thin' }}"
|
||||
echo "LTO mode: $LTO"
|
||||
|
||||
# 工具链路径
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
## Features
|
||||
|
||||
- Use clang-r547379
|
||||
- Enable ThinLTO to build
|
||||
- Enable ThinLTO/FullLTO to build
|
||||
- Enable Root support : kernelsu/SukiSU/kernelsu-next
|
||||
- Enable Susfs support : You can build susfs into kernel
|
||||
- Enable Anykernel3 support : Packaged as a zip package of anykernel3
|
||||
|
||||
Reference in New Issue
Block a user