diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -103,7 +103,7 @@ ifeq ("$(origin O)", "command line") | |||
103 | endif | 103 | endif |
104 | 104 | ||
105 | ifeq ("$(origin W)", "command line") | 105 | ifeq ("$(origin W)", "command line") |
106 | export KBUILD_ENABLE_EXTRA_GCC_CHECKS := 1 | 106 | export KBUILD_ENABLE_EXTRA_GCC_CHECKS := $(W) |
107 | endif | 107 | endif |
108 | 108 | ||
109 | # That's our default target when none is given on the command line | 109 | # That's our default target when none is given on the command line |
@@ -1274,7 +1274,11 @@ help: | |||
1274 | @echo ' make O=dir [targets] Locate all output files in "dir", including .config' | 1274 | @echo ' make O=dir [targets] Locate all output files in "dir", including .config' |
1275 | @echo ' make C=1 [targets] Check all c source with $$CHECK (sparse by default)' | 1275 | @echo ' make C=1 [targets] Check all c source with $$CHECK (sparse by default)' |
1276 | @echo ' make C=2 [targets] Force check of all c source with $$CHECK' | 1276 | @echo ' make C=2 [targets] Force check of all c source with $$CHECK' |
1277 | @echo ' make W=1 [targets] Enable extra gcc checks' | 1277 | @echo ' make W=n [targets] Enable extra gcc checks, n=1,2,3 where' |
1278 | @echo ' 1: warnings which may be relevant and do not occur too often' | ||
1279 | @echo ' 2: warnings which occur quite often but may still be relevant' | ||
1280 | @echo ' 3: more obscure warnings, can most likely be ignored' | ||
1281 | |||
1278 | @echo '' | 1282 | @echo '' |
1279 | @echo 'Execute "make" or "make all" to build all targets marked with [*] ' | 1283 | @echo 'Execute "make" or "make all" to build all targets marked with [*] ' |
1280 | @echo 'For further info see the ./README file' | 1284 | @echo 'For further info see the ./README file' |