Messages in this thread | | | Date | Wed, 09 Feb 2005 09:22:02 +0100 | From | Brice Goglin <> | Subject | Re: How to retrieve version from kernel source (the right way)? |
| |
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/
| |