Skip to content

Commit 2214945

Browse files
committed
kbuild: make -s option take precedence over V=1
'make -s' should be really silent. However, 'make -s V=1' prints noisy log messages from some shell scripts. Of course, such a combination is odd, but the build system needs to do the right thing even if a user gives strange input. If -s is given, KBUILD_VERBOSE should be forced to 0. Signed-off-by: Masahiro Yamada <[email protected]>
1 parent ad7953e commit 2214945

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ endif
9696

9797
ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),)
9898
quiet=silent_
99+
KBUILD_VERBOSE = 0
99100
endif
100101

101102
export quiet Q KBUILD_VERBOSE

0 commit comments

Comments
 (0)