diff options
author | Ian Wienand <ianw@gelato.unsw.edu.au> | 2004-09-06 01:54:23 +0200 |
---|---|---|
committer | Tom Rini <trini@kernel.crashing.org> | 2004-09-06 01:54:23 +0200 |
commit | ef41e994a32b70de5b88bc3543cf2b931bd2a162 (patch) | |
tree | 62cc9a8e3880c793421b2b55e5ebd82596a65de6 /init | |
parent | f7e7e745a3c505bdb3f93ea25b0a208238e7d05e (diff) | |
download | history-ef41e994a32b70de5b88bc3543cf2b931bd2a162.tar.gz |
kbuild: Support LOCALVERSION
Add LOCALVERSION so we can append strings that show up in uname
without having to fiddle with the Makefile and EXTRAVERSION, etc.
* localversion* files are read first
* config variable is appended last
* LOCALVERSION from the command line overrides all of this
* check is forced on build, since we can't really know when
the config or environment options change.
Signed-off-by: Ian Wienand <ianw@gelato.unsw.edu.au>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 1d9857d10191ad..7f3857219bc639 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -283,6 +283,16 @@ config CC_OPTIMIZE_FOR_SIZE If unsure, say N. +config LOCALVERSION + string "Local Version" + help + Append an extra string to the end of your kernel version. + This will show up when you type uname, for example. + The string you set here will be appended after the contents of=20 + any files with a filename matching localversion* in your=20 + object and source tree, in that order. Your total string can + be a maximum of 64 characters. + endmenu # General setup menu "Loadable module support" |