Skip to content

Commit f47a23c

Browse files
committed
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>
1 parent b303c6d commit f47a23c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ endif
9090

9191
ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),)
9292
quiet=silent_
93-
tools_silent=s
9493
endif
9594

9695
export quiet Q KBUILD_VERBOSE
@@ -1674,6 +1673,11 @@ image_name:
16741673
@echo $(KBUILD_IMAGE)
16751674

16761675
# Clear a bunch of variables before executing the submake
1676+
1677+
ifeq ($(quiet),silent_)
1678+
tools_silent=s
1679+
endif
1680+
16771681
tools/: FORCE
16781682
$(Q)mkdir -p $(objtree)/tools
16791683
$(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(tools_silent) $(filter --j% -j,$(MAKEFLAGS))" O=$(abspath $(objtree)) subdir=tools -C $(src)/tools/

0 commit comments

Comments
 (0)