Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 737 Bytes

File metadata and controls

29 lines (25 loc) · 737 Bytes

Kernel Builder

Script to compile kernel

curl -O https://raw.githubusercontent.com/Jonjeexe/Kernel_Builder/refs/heads/Kernel/build.sh

Installation requirements tools

sudo apt-get update -qq
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends \
  git build-essential bc bison flex \
  libssl-dev libelf-dev zlib1g-dev \
  clang lld llvm gcc-aarch64-linux-gnu gcc-arm-linux-gnueabi \
  python3 python3-pip ninja-build zip ccache
sudo ln -sf /usr/bin/ld.lld /usr/bin/ld || true

Edit codename

change codename_deconfig to your own device codename for example mine is blossom_deconfig

Start Compile

enter your kernel source then

bash build.sh