History

kbuild: documentation change on allowing checkers besides sparse

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.

Dustin Kirkland committed 20 years ago

Commit 701842e1 parent c96fca21 file · +5 −4Browse files

Unified · Split

Makefile+5−4
@@ -41,8 +41,9 @@ ifndef KBUILD_VERBOSE · 40 unmodified lines
4141 KBUILD_VERBOSE = 0
4242 endif
4343
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=....'
4647
4748 ifdef C
4849 ifeq ("$(origin C)", "command line")
@@ -1060,8 +1061,8 @@ help: · 1011 unmodified lines
10601061
10611062 @echo ' make V=0|1 [targets] 0 => quiet build (default), 1 => verbose build'
10621063 @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'
10651066 @echo ''
10661067 @echo 'Execute "make" or "make all" to build all targets marked with [*] '
10671068 @echo 'For further info see the ./README file'

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t