How the "<linux/version.h>" file is generated?
Nan Xiao
xiaonan830818 at gmail.com
Mon Oct 26 23:46:17 EDT 2015
Hi Fabian,
OK, thanks very much for your answer!
Best Regards
Nan Xiao
On Mon, Oct 26, 2015 at 6:33 PM, Fabian Mewes
<architekt at coding4coffee.org> wrote:
> 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