summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 098840012b9b..80341dfb2c50 100644
--- a/Makefile
+++ b/Makefile
@@ -87,10 +87,12 @@ endif
87ifneq ($(filter 4.%,$(MAKE_VERSION)),) # make-4 87ifneq ($(filter 4.%,$(MAKE_VERSION)),) # make-4
88ifneq ($(filter %s ,$(firstword x$(MAKEFLAGS))),) 88ifneq ($(filter %s ,$(firstword x$(MAKEFLAGS))),)
89 quiet=silent_ 89 quiet=silent_
90 tools_silent=s
90endif 91endif
91else # make-3.8x 92else # make-3.8x
92ifneq ($(filter s% -s%,$(MAKEFLAGS)),) 93ifneq ($(filter s% -s%,$(MAKEFLAGS)),)
93 quiet=silent_ 94 quiet=silent_
95 tools_silent=-s
94endif 96endif
95endif 97endif
96 98
@@ -1607,11 +1609,11 @@ image_name:
1607# Clear a bunch of variables before executing the submake 1609# Clear a bunch of variables before executing the submake
1608tools/: FORCE 1610tools/: FORCE
1609 $(Q)mkdir -p $(objtree)/tools 1611 $(Q)mkdir -p $(objtree)/tools
1610 $(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(filter --j% -j,$(MAKEFLAGS))" O=$(shell cd $(objtree) && /bin/pwd) subdir=tools -C $(src)/tools/ 1612 $(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(tools_silent) $(filter --j% -j,$(MAKEFLAGS))" O=$(shell cd $(objtree) && /bin/pwd) subdir=tools -C $(src)/tools/
1611 1613
1612tools/%: FORCE 1614tools/%: FORCE
1613 $(Q)mkdir -p $(objtree)/tools 1615 $(Q)mkdir -p $(objtree)/tools
1614 $(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(filter --j% -j,$(MAKEFLAGS))" O=$(shell cd $(objtree) && /bin/pwd) subdir=tools -C $(src)/tools/ $* 1616 $(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(tools_silent) $(filter --j% -j,$(MAKEFLAGS))" O=$(shell cd $(objtree) && /bin/pwd) subdir=tools -C $(src)/tools/ $*
1615 1617
1616# Single targets 1618# Single targets
1617# --------------------------------------------------------------------------- 1619# ---------------------------------------------------------------------------