I rebuild the kernel based on the git sources. These are the steps that I take:
- git clone git://kernel.ubuntu.com/ubuntu/ubuntu-focal.git
- cd ubuntu-focal
- vi debian.master/changelog
- apply patches
- fakeroot debian/rules clean binary-headers binary-generic
If I then apply another patch and want to compile the same version again, I get an error because certain folders are not empty. I can issue 'fakeroot debian/rules clean' to solve that, but then I need to compile the whole kernel.
Is there a way to recompiling only the changed files and build the debs based on that? It seems a trivial thing I just haven't figured out yet.