mlm-games/Android Kernel Builder Action
Action to build Android kernel
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| KERNEL_CLONE_CMD | Command to clone kernel source code | yes | ${{github.repository}} |
| KERNEL_CONFIG | Kernel configuration name (e.g. defconfig) | yes | — |
| ARCH | Target architecture | yes | arm64 |
| MAKE_ARGS | Arguments for make command (both defconfig and kernel) | no | O=out PATH=$HOME/clang/bin:$PATH CC="ccache clang" CLANG_TRIPLE=aarch64-linux-gnu- CROSS_COMPILE=aarch64-linux-gnu- CROSS_COMPILE_ARM32=arm-linux-gnueabi- |
| DTB_FILENAME | name of compiled dtb (if present) | no | dtb.img |
| DTBO_FILENAME | name of compiled dtbo (if present) | — | dtbo.img |
| TOOLCHAIN_CLONE_CMD | Link of compiler to clone and use | no | mkdir -p $HOME/clang && wget https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+archive/refs/heads/master/clang-r530567.tar.gz -O clang.tar.gz && tar xf clang.tar.gz -C $HOME/clang && sudo apt install gcc-aarch64-linux-gnu gcc-arm-linux-gnueabi |
| ENABLE_KSU | Enable KernelSU support for non-gki (for non-kprobe, ONLY ENABLE IF NOT ALREADY INTEGRATED!!! ) | no | false |
| KSU_KPROBE_ONLY | Kprobe or non kprobe | no | false |
| KSU_CURL_COMMAND | External KernelSU curl command (check KernelSU readme) | no | curl -LSs "https://raw.githubusercontent.com/mlm-games/KernelSU-Non-GKI/main/kernel/setup-subm.sh" | bash -s |
| ENABLE_CCACHE | Enable ccache support | no | true |
| ANYKERNEL_URL | Url for anykernel3 repo. | no | https://github.com/mlm-games/AnyKernel3 |
Outputs
no outputs