From mboxrd@z Thu Jan 1 00:00:00 1970 From: architekt@coding4coffee.org (Fabian Mewes) Date: Mon, 26 Oct 2015 11:33:47 +0100 Subject: How the "" file is generated? In-Reply-To: References: Message-ID: <20151026103347.GA25162@remote.coding4coffee.org> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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 "" 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