aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2003-03-05 08:05:54 -0600
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2003-03-05 08:05:54 -0600
commitf697081105893ce75212bbde0aa7e23286596bc0 (patch)
treefb1bb714ddff50d0cbc3d4a3c7469cf8361deeee /Makefile
parentdc39134c17c95476ffed4cbbf4f97ae961395d32 (diff)
downloadhistory-f697081105893ce75212bbde0aa7e23286596bc0.tar.gz
[PATCH] kbuild: Smart notation for non-verbose output
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e616de0b331fc..e619acc6a4ad7 100644
--- a/Makefile
+++ b/Makefile
@@ -107,6 +107,11 @@ export KBUILD_MODULES KBUILD_BUILTIN KBUILD_VERBOSE
# 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