summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-12-22 17:25:35 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2023-01-22 15:43:32 +0100
commit83d98d73b4fc2d485b4a2fd996f5a23e79ee3b52 (patch)
tree45e69c40786dc363eee42bd03b2ce47f29718d03 /Makefile
parentkbuild: allow to combine multiple V= levels (diff)
downloadlinux-83d98d73b4fc2d485b4a2fd996f5a23e79ee3b52.tar.xz
linux-83d98d73b4fc2d485b4a2fd996f5a23e79ee3b52.zip
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: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ed5ce58196be..cb5f433cf200 100644
--- a/Makefile
+++ b/Makefile
@@ -78,9 +78,6 @@ unexport GREP_OPTIONS
ifeq ("$(origin V)", "command line")
KBUILD_VERBOSE = $(V)
endif
-ifndef KBUILD_VERBOSE
- KBUILD_VERBOSE = 0
-endif
quiet = quiet_
Q = @
@@ -102,7 +99,7 @@ endif
ifneq ($(findstring s,$(short-opts)),)
quiet=silent_
-KBUILD_VERBOSE = 0
+override KBUILD_VERBOSE :=
endif
export quiet Q KBUILD_VERBOSE
@@ -1774,7 +1771,7 @@ help:
printf " %-16s - Show all of the above\\n" help-boards; \
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 ' V=1 and V=2 can be combined with V=12'
@echo ' make O=dir [targets] Locate all output files in "dir", including .config'