How to perform an incremental build of Ubuntu 22.04
's Linux kernel. When build is done using fakeroot debian/rules binary
it starts a fresh build.
Asked
Active
Viewed 588 times
make clean
as an early step in the compile, which Ubuntu does by default. An incremental compile only recompiles things that have changed. As such the compile can complete much much faster. It is all I ever use for mainline kernel compiles, but I have never figured out how to do it for Standard Ubuntu kernels. @Pilot6. – Doug Smythies Jun 30 '22 at 18:29debian/rules clean
for that. You can look into the script. – Pilot6 Jun 30 '22 at 18:33debian/rules binary
build and got lost. I use "bindeb-pkg" in my make command line, and it doesn't call "clean". "deb-pkg" does call "clean". If I understand correctly,debian/rules
uses "intdeb-pkg" which I had trouble following. – Doug Smythies Jun 30 '22 at 23:50