All of lore.kernel.org
 help / color / mirror / Atom feed
* How the "<linux/version.h>" file is generated?
@ 2015-10-26 10:22 Nan Xiao
  2015-10-26 10:33 ` Fabian Mewes
  0 siblings, 1 reply; 3+ messages in thread
From: Nan Xiao @ 2015-10-26 10:22 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* How the "<linux/version.h>" file is generated?
  2015-10-26 10:22 How the "<linux/version.h>" file is generated? Nan Xiao
@ 2015-10-26 10:33 ` Fabian Mewes
  2015-10-27  3:46   ` Nan Xiao
  0 siblings, 1 reply; 3+ messages in thread
From: Fabian Mewes @ 2015-10-26 10:33 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* How the "<linux/version.h>" file is generated?
  2015-10-26 10:33 ` Fabian Mewes
@ 2015-10-27  3:46   ` Nan Xiao
  0 siblings, 0 replies; 3+ messages in thread
From: Nan Xiao @ 2015-10-27  3:46 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-27  3:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-26 10:22 How the "<linux/version.h>" file is generated? Nan Xiao
2015-10-26 10:33 ` Fabian Mewes
2015-10-27  3:46   ` Nan Xiao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.