summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-12-22 17:25:34 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2023-01-22 15:43:32 +0100
commit6ae4b9868a8f723cae2600722eea033fafadd399 (patch)
tree2da4dfacfb2dca92750831bfbd8db067b17decad /arch/x86
parentkbuild: do not print extra logs for V=2 (diff)
downloadlinux-6ae4b9868a8f723cae2600722eea033fafadd399.tar.xz
linux-6ae4b9868a8f723cae2600722eea033fafadd399.zip
kbuild: allow to combine multiple V= levels
Commit a6de553da01c ("kbuild: Allow to combine multiple W= levels") supported W=123 to enable all the extra warning groups. I think a similar idea is applicable to the V= option. V=1 echos the whole command V=2 prints the reason for rebuilding These are orthogonal, and can be enabled at the same time. This commit supports V=12 to enable both of them. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Tested-by: Nicolas Schier <nicolas@fjasle.eu> Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/tools/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/tools/Makefile b/arch/x86/tools/Makefile
index bddfc9a46645..90e820ac9771 100644
--- a/arch/x86/tools/Makefile
+++ b/arch/x86/tools/Makefile
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
PHONY += posttest
-ifeq ($(KBUILD_VERBOSE),1)
+ifneq ($(findstring 1, $(KBUILD_VERBOSE)),)
posttest_verbose = -v
else
posttest_verbose =