diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-02-22 02:40:06 -0500 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-02-27 07:43:30 -0500 |
commit | f47a23ce2b2753ea72b4195e45c20031c46f24b5 (patch) | |
tree | 5e367e5e00e82e708fb7ef2b9a7436ef97aa7b9b /Makefile | |
parent | b303c6df80c9f8f13785aa83a0471fca7e38b24d (diff) |
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-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -90,7 +90,6 @@ endif | |||
90 | 90 | ||
91 | ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),) | 91 | ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),) |
92 | quiet=silent_ | 92 | quiet=silent_ |
93 | tools_silent=s | ||
94 | endif | 93 | endif |
95 | 94 | ||
96 | export quiet Q KBUILD_VERBOSE | 95 | export quiet Q KBUILD_VERBOSE |
@@ -1674,6 +1673,11 @@ image_name: | |||
1674 | @echo $(KBUILD_IMAGE) | 1673 | @echo $(KBUILD_IMAGE) |
1675 | 1674 | ||
1676 | # Clear a bunch of variables before executing the submake | 1675 | # Clear a bunch of variables before executing the submake |
1676 | |||
1677 | ifeq ($(quiet),silent_) | ||
1678 | tools_silent=s | ||
1679 | endif | ||
1680 | |||
1677 | tools/: FORCE | 1681 | tools/: FORCE |
1678 | $(Q)mkdir -p $(objtree)/tools | 1682 | $(Q)mkdir -p $(objtree)/tools |
1679 | $(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(tools_silent) $(filter --j% -j,$(MAKEFLAGS))" O=$(abspath $(objtree)) subdir=tools -C $(src)/tools/ | 1683 | $(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(tools_silent) $(filter --j% -j,$(MAKEFLAGS))" O=$(abspath $(objtree)) subdir=tools -C $(src)/tools/ |