summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2006-09-13 13:57:50 +0200
committerSam Ravnborg <sam@neptun.ravnborg.org>2006-09-25 10:10:56 +0200
commit1c7bafe7206d928eaccbcbd08d868733e0fb7054 (patch)
tree1a47b8bce159ffbbef4de11276e33a8b110100eb /Makefile
parentDocumentaion: update Documentation/Changes with minimum versions (diff)
downloadlinux-1c7bafe7206d928eaccbcbd08d868733e0fb7054.tar.xz
linux-1c7bafe7206d928eaccbcbd08d868733e0fb7054.zip
kbuild: clarify "make C=" build option
Clarify the use of "make C=" in the top-level Makefile, and fix a typo in the Documentation file. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 0d4a4dc7222d..cd50298fbda7 100644
--- a/Makefile
+++ b/Makefile
@@ -41,9 +41,15 @@ ifndef KBUILD_VERBOSE
KBUILD_VERBOSE = 0
endif
-# Call checker as part of compilation of C files
-# Use 'make C=1' to enable checking (sparse, by default)
-# Override with 'make C=1 CHECK=checker_executable CHECKFLAGS=....'
+# Call a source code checker (by default, "sparse") as part of the
+# C compilation.
+#
+# Use 'make C=1' to enable checking of only re-compiled files.
+# Use 'make C=2' to enable checking of *all* source files, regardless
+# of whether they are re-compiled or not.
+#
+# See the file "Documentation/sparse.txt" for more details, including
+# where to get the "sparse" utility.
ifdef C
ifeq ("$(origin C)", "command line")