diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-08-18 03:02:08 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-08-18 03:02:08 +0200 |
commit | a817884fa8bac6867eded68b5acde4fc11ebb98c (patch) | |
tree | 654500a9c8c3fc1c3df0c366c034e6ee6238994d /Makefile | |
parent | 5d93010439c00ce1f5c71d79ffad200f00b8ed19 (diff) | |
download | history-a817884fa8bac6867eded68b5acde4fc11ebb98c.tar.gz |
kbuild: make C=2 now force sparse to be run for all .c files
With make C=2 sparse ($(CHECK)) will be run on all .c files also if they
do not need to be compiled.
Usefull to run sparse on a fully compiled kernel tree.
Implemented on request from Al Viro (although he liked to be able to
run sparse without building any source).
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile index 1154e676430d8f..17606090b9f694 100644 --- a/Makefile +++ b/Makefile @@ -958,7 +958,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 checker tool' + @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 '' @echo 'Execute "make" or "make all" to build all targets marked with [*] ' @echo 'For further info see the ./README file' |