Re: How to retrieve version from kernel source (the right way)?
From: Brice Goglin (Brice.Goglin_at_ens-lyon.org)
Date: 02/09/05
- Previous message: Michael Renzmann: "How to retrieve version from kernel source (the right way)?"
- In reply to: Michael Renzmann: "How to retrieve version from kernel source (the right way)?"
- Next in thread: Christoph Hellwig: "Re: How to retrieve version from kernel source (the right way)?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 09 Feb 2005 09:22:02 +0100 To: Michael Renzmann <mrenzmann@web.de>
Michael Renzmann a écrit :
> Then we started to grep VERSION, PATCHLEVEL, SUBLEVEL and EXTRAVERSION
> from the kernel's Makefile. This failed, since some distributors seem to
> use shell commands for at least one of those. Example from SuSE 9.1:
> === cut ===
> VERSION = 2
> PATCHLEVEL = 6
> SUBLEVEL = 5
> EXTRAVERSION = -$(shell echo $(CONFIG_RELEASE)-$(CONFIG_CFGNAME))
> === cut ===
>
> Newer kernels also allow to set CONFIG_LOCALVERSION in .config.
And you may also set some "localversion*" files in the source directory.
Their contents will be added too.
Brice
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Michael Renzmann: "How to retrieve version from kernel source (the right way)?"
- In reply to: Michael Renzmann: "How to retrieve version from kernel source (the right way)?"
- Next in thread: Christoph Hellwig: "Re: How to retrieve version from kernel source (the right way)?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|