mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-30 19:06:14 +00:00
kbuild: clarify the creation of the LOCALVERSION_AUTO string.
Clarify the creation of the LOCALVERSION_AUTO string during kernel configuration, and fix a couple typoes while we're there. Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
parent
eda890af79
commit
6e5a5420b7
1 changed files with 10 additions and 6 deletions
16
init/Kconfig
16
init/Kconfig
|
@ -80,16 +80,20 @@ config LOCALVERSION_AUTO
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
This will try to automatically determine if the current tree is a
|
This will try to automatically determine if the current tree is a
|
||||||
release tree by looking for git tags that
|
release tree by looking for git tags that belong to the current
|
||||||
belong to the current top of tree revision.
|
top of tree revision.
|
||||||
|
|
||||||
A string of the format -gxxxxxxxx will be added to the localversion
|
A string of the format -gxxxxxxxx will be added to the localversion
|
||||||
if a git based tree is found. The string generated by this will be
|
if a git-based tree is found. The string generated by this will be
|
||||||
appended after any matching localversion* files, and after the value
|
appended after any matching localversion* files, and after the value
|
||||||
set in CONFIG_LOCALVERSION
|
set in CONFIG_LOCALVERSION.
|
||||||
|
|
||||||
Note: This requires Perl, and a git repository, but not necessarily
|
(The actual string used here is the first eight characters produced
|
||||||
the git or cogito tools to be installed.
|
by running the command:
|
||||||
|
|
||||||
|
$ git rev-parse --verify HEAD
|
||||||
|
|
||||||
|
which is done within the script "scripts/setlocalversion".)
|
||||||
|
|
||||||
config SWAP
|
config SWAP
|
||||||
bool "Support for paging of anonymous memory (swap)"
|
bool "Support for paging of anonymous memory (swap)"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue