summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada2019-02-22 08:40:06 +0100
committerMasahiro Yamada2019-02-27 13:43:30 +0100
commitf47a23ce2b2753ea72b4195e45c20031c46f24b5 (patch)
tree5e367e5e00e82e708fb7ef2b9a7436ef97aa7b9b /Makefile
parentkbuild: compute false-positive -Wmaybe-uninitialized cases in Kconfig (diff)
downloadkernel-qcow2-linux-f47a23ce2b2753ea72b4195e45c20031c46f24b5.tar.gz
kernel-qcow2-linux-f47a23ce2b2753ea72b4195e45c20031c46f24b5.tar.xz
kernel-qcow2-linux-f47a23ce2b2753ea72b4195e45c20031c46f24b5.zip
kbuild: move tools_silent to a more relevant place
This would disturb the change the sub-make part. Move it near the tools/ target. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9f52fda4ad0e..55de9f5d38cb 100644
--- a/Makefile
+++ b/Makefile
@@ -90,7 +90,6 @@ endif
ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),)
quiet=silent_
- tools_silent=s
endif
export quiet Q KBUILD_VERBOSE
@@ -1674,6 +1673,11 @@ image_name:
@echo $(KBUILD_IMAGE)
# Clear a bunch of variables before executing the submake
+
+ifeq ($(quiet),silent_)
+tools_silent=s
+endif
+
tools/: FORCE
$(Q)mkdir -p $(objtree)/tools
$(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(tools_silent) $(filter --j% -j,$(MAKEFLAGS))" O=$(abspath $(objtree)) subdir=tools -C $(src)/tools/