Commit 83d98d73 authored by Masahiro Yamada's avatar Masahiro Yamada

kbuild: drop V=0 support

The top Makefile sets KBUILD_VERBOSE to 0 by default, it looks weird
now because V=1 and V=2 can be OR'ed as V=12. The default should be
empty.
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Reviewed-by: default avatarNicolas Schier <nicolas@fjasle.eu>
parent 6ae4b986
...@@ -523,7 +523,7 @@ more details, with real examples. ...@@ -523,7 +523,7 @@ more details, with real examples.
$(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@ $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@
@$(kecho) ' Kernel: $(boot)/$@ is ready' @$(kecho) ' Kernel: $(boot)/$@ is ready'
When kbuild is executing with KBUILD_VERBOSE=0, then only a shorthand When kbuild is executing with KBUILD_VERBOSE unset, then only a shorthand
of a command is normally displayed. of a command is normally displayed.
To enable this behaviour for custom commands kbuild requires To enable this behaviour for custom commands kbuild requires
two variables to be set:: two variables to be set::
...@@ -544,7 +544,7 @@ more details, with real examples. ...@@ -544,7 +544,7 @@ more details, with real examples.
GEN lib/crc32table.h GEN lib/crc32table.h
will be displayed with "make KBUILD_VERBOSE=0". will be displayed with "make KBUILD_VERBOSE=".
3.12 Command change detection 3.12 Command change detection
----------------------------- -----------------------------
......
...@@ -78,9 +78,6 @@ unexport GREP_OPTIONS ...@@ -78,9 +78,6 @@ unexport GREP_OPTIONS
ifeq ("$(origin V)", "command line") ifeq ("$(origin V)", "command line")
KBUILD_VERBOSE = $(V) KBUILD_VERBOSE = $(V)
endif endif
ifndef KBUILD_VERBOSE
KBUILD_VERBOSE = 0
endif
quiet = quiet_ quiet = quiet_
Q = @ Q = @
...@@ -102,7 +99,7 @@ endif ...@@ -102,7 +99,7 @@ endif
ifneq ($(findstring s,$(short-opts)),) ifneq ($(findstring s,$(short-opts)),)
quiet=silent_ quiet=silent_
KBUILD_VERBOSE = 0 override KBUILD_VERBOSE :=
endif endif
export quiet Q KBUILD_VERBOSE export quiet Q KBUILD_VERBOSE
...@@ -1774,7 +1771,7 @@ help: ...@@ -1774,7 +1771,7 @@ help:
printf " %-16s - Show all of the above\\n" help-boards; \ printf " %-16s - Show all of the above\\n" help-boards; \
echo '') echo '')
@echo ' make V=n [targets] 0: quiet build (default), 1: verbose build' @echo ' make V=n [targets] 1: verbose build'
@echo ' 2: give reason for rebuild of target' @echo ' 2: give reason for rebuild of target'
@echo ' V=1 and V=2 can be combined with V=12' @echo ' V=1 and V=2 can be combined with V=12'
@echo ' make O=dir [targets] Locate all output files in "dir", including .config' @echo ' make O=dir [targets] Locate all output files in "dir", including .config'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment