summaryrefslogtreecommitdiffstats
path: root/Documentation/sparse.txt
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2006-09-13 07:57:50 -0400
committerSam Ravnborg <sam@neptun.ravnborg.org>2006-09-25 10:10:56 +0200
commit1c7bafe7206d928eaccbcbd08d868733e0fb7054 (patch)
tree1a47b8bce159ffbbef4de11276e33a8b110100eb /Documentation/sparse.txt
parente41217129c66775d59c95978378ca42c53dd42c6 (diff)
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 'Documentation/sparse.txt')
-rw-r--r--Documentation/sparse.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/sparse.txt b/Documentation/sparse.txt
index 5a311c38dd1..f9c99c9a54f 100644
--- a/Documentation/sparse.txt
+++ b/Documentation/sparse.txt
@@ -69,10 +69,10 @@ recompiled, or use "make C=2" to run sparse on the files whether they need to
be recompiled or not. The latter is a fast way to check the whole tree if you
have already built it.
-The optional make variable CF can be used to pass arguments to sparse. The
-build system passes -Wbitwise to sparse automatically. To perform endianness
-checks, you may define __CHECK_ENDIAN__:
+The optional make variable CHECKFLAGS can be used to pass arguments to sparse.
+The build system passes -Wbitwise to sparse automatically. To perform
+endianness checks, you may define __CHECK_ENDIAN__:
- make C=2 CF="-D__CHECK_ENDIAN__"
+ make C=2 CHECKFLAGS="-D__CHECK_ENDIAN__"
These checks are disabled by default as they generate a host of warnings.