Building a specific linux kernel version

I am able to follow these instructions and build a working SD card image:

I can override the release version with “v5.15” and build a new SD image where uname -a says:


I have some proprietary kernel modules which only work with this version:


Is it possible to modify to generate version 00007 instead of version 00018?


Dave Naddor GTRI

you can look at the kernel config option


disabling LOCALVERSION_AUTO and setting your LOCALVERSION to 00007-gfebbce87fedd should all vermagic to match on your module. However it is possible that some of the other checks will fail. Good luck.