Minor documentation change on allowing checkers besides sparse This patch cleans up a couple of mentions of sparse in the inline toplevel Makefile documentation such that it's clear that other checkers besides sparse can override CHECK and CHECKFLAGS.
Unified · Split
| @@ -41,8 +41,9 @@ ifndef KBUILD_VERBOSE · 40 unmodified lines | ||
| 41 | 41 | KBUILD_VERBOSE = 0 |
| 42 | 42 | endif |
| 43 | 43 | |
| 44 | −# Call sparse as part of compilation of C files | |
| 45 | −# Use 'make C=1' to enable sparse checking | |
| 44 | +# Call checker as part of compilation of C files | |
| 45 | +# Use 'make C=1' to enable checking (sparse, by default) | |
| 46 | +# Override with 'make C=1 CHECK=checker_executable CHECKFLAGS=....' | |
| 46 | 47 | |
| 47 | 48 | ifdef C |
| 48 | 49 | ifeq ("$(origin C)", "command line") |
| @@ -1060,8 +1061,8 @@ help: · 1011 unmodified lines | ||
| 1060 | 1061 | |
| 1061 | 1062 | @echo ' make V=0|1 [targets] 0 => quiet build (default), 1 => verbose build' |
| 1062 | 1063 | @echo ' make O=dir [targets] Locate all output files in "dir", including .config' |
| 1063 | − @echo ' make C=1 [targets] Check all c source with $$CHECK (sparse)' | |
| 1064 | − @echo ' make C=2 [targets] Force check of all c source with $$CHECK (sparse)' | |
| 1064 | + @echo ' make C=1 [targets] Check all c source with $$CHECK (sparse by default)' | |
| 1065 | + @echo ' make C=2 [targets] Force check of all c source with $$CHECK' | |
| 1065 | 1066 | @echo '' |
| 1066 | 1067 | @echo 'Execute "make" or "make all" to build all targets marked with [*] ' |
| 1067 | 1068 | @echo 'For further info see the ./README file' |