How To Compile Linux Kernel
So, you want to compile linux kernel? Let’s do it.
First let us clone the repository. It’s just over 2GB currently, so it might take a while. We’re also doing a shallow clone
git config --global http.postBuffer 157286400git clone https://github.com/torvalds/linux.git --shallow-since 2024-11-17git tag -lgit checkout v6.12