How the "<linux/version.h>" file is generated?

Fabian Mewes architekt at coding4coffee.org
Mon Oct 26 06:33:47 EDT 2015


On Mon, Oct 26, 2015 at 06:22:57PM +0800, Nan Xiao wrote:
> After browsing http://lxr.free-electrons.com/source/include/linux/, I
> can't find version.h file.
> So I am curious about how the "<linux/version.h>" file is generated?

This is done in the top-level Makefile:
        http://lxr.free-electrons.com/source/Makefile#L997

Btw, you can try to find out something like this on your own by
grepping for 'version.h' in the kernel tree.

Greetings,
Fabian



More information about the Kernelnewbies mailing list