diff mbox series

[v2,1/6] kbuild: move tools_silent to a more relevant place

Message ID 1550821211-30324-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit f47a23ce2b2753ea72b4195e45c20031c46f24b5
Headers show
Series [v2,1/6] kbuild: move tools_silent to a more relevant place | expand

Commit Message

Masahiro Yamada Feb. 22, 2019, 7:40 a.m. UTC
This would disturb the change the sub-make part. Move it near the
tools/ target.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

Changes in v2: None

 Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
2.7.4

Comments

Masahiro Yamada Feb. 27, 2019, 1:27 p.m. UTC | #1
On Fri, Feb 22, 2019 at 4:40 PM Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
>

> This would disturb the change the sub-make part. Move it near the

> tools/ target.

>

> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

> ---


Series, applied to linux-kbuild.



> Changes in v2: None

>

>  Makefile | 6 +++++-

>  1 file changed, 5 insertions(+), 1 deletion(-)

>

> diff --git a/Makefile b/Makefile

> index bf4e77b..82091b8 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

> @@ -1678,6 +1677,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/

> --

> 2.7.4

>



-- 
Best Regards
Masahiro Yamada
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index bf4e77b..82091b8 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
@@ -1678,6 +1677,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/