Messages in this thread Patch in this message | | | Date | Mon, 3 Mar 2003 22:51:12 +0100 | From | Sam Ravnborg <> | Subject | [PATCH] kbuild: Smart notation for non-verbose output |
| |
Hi Kai.
Create a nice shorthand to enable the non-verbose output mode. make V=1 => Gives verbose output (default) make V=0 => Gives non-verbose output
One of the reasons why people does not use KBUILD_VERBOSE=0 that much is simply the typing needed. This notation should make it acceptable to type it. The usage of "make V=0" is restricted to the command line. Anyone that wants to enable the non-verbose mode pr. default shall set KBUILD_VERBOSE in the shell.
Sam
===== Makefile 1.391 vs edited ===== --- 1.391/Makefile Mon Mar 3 05:55:31 2003 +++ edited/Makefile Mon Mar 3 22:49:14 2003 @@ -107,6 +107,11 @@ # For now, leave verbose as default +ifdef V + ifeq ("$(origin V)", "command line") + KBUILD_VERBOSE = $(V) + endif +endif ifndef KBUILD_VERBOSE KBUILD_VERBOSE = 1 endif - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |