kbuild: Add extra gcc checks
[linux-2.6-block.git] / Documentation / kbuild / kbuild.txt
index 4a990317b84a7c60cac5b507a4efa682ca0ad4b7..376538c984cef15ce12886c959ca03fac5a42001 100644 (file)
@@ -196,3 +196,8 @@ to be included in the databases, separated by blank space. E.g.:
 To get all available archs you can also specify all. E.g.:
 
     $ make ALLSOURCE_ARCHS=all tags
+
+KBUILD_ENABLE_EXTRA_GCC_CHECKS
+--------------------------------------------------
+If enabled over the make command line with "W=1", it turns on additional
+gcc -W... options for more extensive build-time checking.