YAKB is a two-way modular android kernel build script written in bash which is extensive.
What it means to be two-way is that it is an argument-based script and a menu-based script.
- Edit main.sh according to your needs. (read the comments for explanation on each variable.)
bash main.sh img mkzip
This builds the kernel and makes an anykernel3 zip.
bash main.sh
This executes the script and opens a menu-based program which has 9 options for you to choose from.
EvaGCC 12.0.0
Proton Clang 13.0.0
Neutron Clang 17.0.0
Any custom clang toolchain
Any custom GCC toolchain with GNU binutils
Feel free to drop a PR to improve this script.
Adapt this commit for yourself.