How the "<linux/version.h>" file is generated?
Hi all, 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? Thanks very much in advance! Best Regards Nan Xiao
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
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@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
participants (2)
-
Fabian Mewes -
Nan Xiao