diff options
author | Robert P. J. Day <rpjday@mindspring.com> | 2007-05-01 17:08:11 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-05-02 14:58:11 -0400 |
commit | 6e5a5420b7cdac356efbdc7832e90a805670b889 (patch) | |
tree | 44c560622e2eff6aa9e7f10d363ef24dc621344c /init/Kconfig | |
parent | eda890af7959a79ab10a7a8ae979dadcdba41c58 (diff) |
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>
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/init/Kconfig b/init/Kconfig index b170aa1d43bd..29d9e47ee0da 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -80,16 +80,20 @@ config LOCALVERSION_AUTO | |||
80 | default y | 80 | default y |
81 | help | 81 | help |
82 | This will try to automatically determine if the current tree is a | 82 | This will try to automatically determine if the current tree is a |
83 | release tree by looking for git tags that | 83 | release tree by looking for git tags that belong to the current |
84 | belong to the current top of tree revision. | 84 | top of tree revision. |
85 | 85 | ||
86 | A string of the format -gxxxxxxxx will be added to the localversion | 86 | A string of the format -gxxxxxxxx will be added to the localversion |
87 | if a git based tree is found. The string generated by this will be | 87 | if a git-based tree is found. The string generated by this will be |
88 | appended after any matching localversion* files, and after the value | 88 | appended after any matching localversion* files, and after the value |
89 | set in CONFIG_LOCALVERSION | 89 | set in CONFIG_LOCALVERSION. |
90 | 90 | ||
91 | Note: This requires Perl, and a git repository, but not necessarily | 91 | (The actual string used here is the first eight characters produced |
92 | the git or cogito tools to be installed. | 92 | by running the command: |
93 | |||
94 | $ git rev-parse --verify HEAD | ||
95 | |||
96 | which is done within the script "scripts/setlocalversion".) | ||
93 | 97 | ||
94 | config SWAP | 98 | config SWAP |
95 | bool "Support for paging of anonymous memory (swap)" | 99 | bool "Support for paging of anonymous memory (swap)" |