en Configuring the YML File - JackA1ltman/NonGKI_Kernel_Build_2nd GitHub Wiki
Configuring the YML File
Build with Actions ยท Step 2
Required Fields
| Field | Description | Example |
|---|---|---|
DEVICE_NAME |
Device name and model | oneplus_8 |
DEVICE_CODENAME |
Device codename | polaris |
KERNEL_SOURCE |
Kernel source Git URL | |
KERNEL_BRANCH |
Kernel source branch | |
DEFCONFIG_NAME |
Full defconfig name (relative to arch/arm64/configs/) |
vendor/mi845_defconfig |
Runner / Container Configuration
| Field | Options |
|---|---|
runs-on |
ubuntu-latest / ubuntu-24.04 / ubuntu-22.04 |
container |
ubuntu:focal (20.04) / archlinux / archlinux:latest |
Minimal Configuration for Personal Use
If you are building just for yourself, you typically only need to set the following variables:
EXTRA_CMDS(build flags, e.g.LD=ld.lld LLVM=1 LLVM_IAS=1)KERNEL_SOURCEandKERNEL_BRANCHCLANG_SOURCEandCLANG_BRANCHDEFCONFIG_NAMEKERNELSU_AUTO_GETandKERNELSU_AUTO_FORKSUSFS_ENABLE,SUSFS_FIXED,PATCHES_SOURCE,PATCHES_BRANCH,SUSFS_FOLDER_FIXED,SUSFS_PATCH_FIXED
Adding Extra Build Steps
If the kernel requires additional shell commands before compilation, add them here:
- name: ๐ช Extra Kernel Options
run: |
# your shell commands here