Posts
Where does your local Linux Kernel build get its kernel release version string from?
Sun, 07 Jul 2024 21:35:00 +0000 | tags: linux - kernel - v6.7 - makefile - kernelrelease - git - scm - localversion - kconfig - kbuild
...
On building your local Linux Kernel source, the build gets a release version string which can be viewed by making the generic target kernelrelease from the source base directory: $ make kernelrelease You can also read the same from include/config/kernel.release if this file was created by any of the target builds like all, vmlinux, modules, etc.
In this post let us take a look at how this kernel release version string is formed.
...