Skip to content

Commit

Permalink
kbuild: clarify the creation of the LOCALVERSION_AUTO string.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
  • Loading branch information
Robert P. J. Day authored and sravnborg committed May 2, 2007
1 parent eda890a commit 6e5a542
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,20 @@ config LOCALVERSION_AUTO
default y
help
This will try to automatically determine if the current tree is a
release tree by looking for git tags that
belong to the current top of tree revision.
release tree by looking for git tags that belong to the current
top of tree revision.

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
set in CONFIG_LOCALVERSION
set in CONFIG_LOCALVERSION.

Note: This requires Perl, and a git repository, but not necessarily
the git or cogito tools to be installed.
(The actual string used here is the first eight characters produced
by running the command:

$ git rev-parse --verify HEAD

which is done within the script "scripts/setlocalversion".)

config SWAP
bool "Support for paging of anonymous memory (swap)"
Expand Down

0 comments on commit 6e5a542

Please sign in to comment.