Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 701842e3 authored by Dustin Kirkland's avatar Dustin Kirkland Committed by Sam Ravnborg
Browse files

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.

Signed-off-by: default avatarDustin Kirkland <dustin.kirkland@us.ibm.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent c96fca21
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -41,8 +41,9 @@ ifndef KBUILD_VERBOSE
  KBUILD_VERBOSE = 0
endif

# Call sparse as part of compilation of C files
# Use 'make C=1' to enable sparse checking
# 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=....'

ifdef C
  ifeq ("$(origin C)", "command line")
@@ -1060,8 +1061,8 @@ help:

	@echo  '  make V=0|1 [targets] 0 => quiet build (default), 1 => verbose build'
	@echo  '  make O=dir [targets] Locate all output files in "dir", including .config'
	@echo  '  make C=1   [targets] Check all c source with $$CHECK (sparse)'
	@echo  '  make C=2   [targets] Force check of all c source with $$CHECK (sparse)'
	@echo  '  make C=1   [targets] Check all c source with $$CHECK (sparse by default)'
	@echo  '  make C=2   [targets] Force check of all c source with $$CHECK'
	@echo  ''
	@echo  'Execute "make" or "make all" to build all targets marked with [*] '
	@echo  'For further info see the ./README file'