All of lore.kernel.org
 help / color / mirror / Atom feed
From: architekt@coding4coffee.org (Fabian Mewes)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How the "<linux/version.h>" file is generated?
Date: Mon, 26 Oct 2015 11:33:47 +0100	[thread overview]
Message-ID: <20151026103347.GA25162@remote.coding4coffee.org> (raw)
In-Reply-To: <CA+MhoaNK3Lip7VCR=TYSokORDFpEh-DGFiiH-XFzuWg8GKhRsw@mail.gmail.com>

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

  reply	other threads:[~2015-10-26 10:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-26 10:22 How the "<linux/version.h>" file is generated? Nan Xiao
2015-10-26 10:33 ` Fabian Mewes [this message]
2015-10-27  3:46   ` Nan Xiao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151026103347.GA25162@remote.coding4coffee.org \
    --to=architekt@coding4coffee.org \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.