diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-02-27 15:26:20 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-02-28 15:22:02 +0900 |
commit | 2214945422c143f8bb27faed77a97f728c0a1cb1 (patch) | |
tree | 7d262219d00c233b1359739637070adcba92185c /Makefile | |
parent | ad7953e7aebb585d0fcfc58d81e207360f751ddb (diff) | |
download | linux-2214945422c143f8bb27faed77a97f728c0a1cb1.tar.gz |
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 <masahiroy@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -96,6 +96,7 @@ endif ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),) quiet=silent_ + KBUILD_VERBOSE = 0 endif export quiet Q KBUILD_VERBOSE |