mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-27 17:35:35 +00:00
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>
This commit is contained in:
parent
b303c6df80
commit
f47a23ce2b
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -90,7 +90,6 @@ endif
|
||||||
|
|
||||||
ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),)
|
ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),)
|
||||||
quiet=silent_
|
quiet=silent_
|
||||||
tools_silent=s
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
export quiet Q KBUILD_VERBOSE
|
export quiet Q KBUILD_VERBOSE
|
||||||
|
@ -1674,6 +1673,11 @@ image_name:
|
||||||
@echo $(KBUILD_IMAGE)
|
@echo $(KBUILD_IMAGE)
|
||||||
|
|
||||||
# Clear a bunch of variables before executing the submake
|
# Clear a bunch of variables before executing the submake
|
||||||
|
|
||||||
|
ifeq ($(quiet),silent_)
|
||||||
|
tools_silent=s
|
||||||
|
endif
|
||||||
|
|
||||||
tools/: FORCE
|
tools/: FORCE
|
||||||
$(Q)mkdir -p $(objtree)/tools
|
$(Q)mkdir -p $(objtree)/tools
|
||||||
$(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(tools_silent) $(filter --j% -j,$(MAKEFLAGS))" O=$(abspath $(objtree)) subdir=tools -C $(src)/tools/
|
$(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(tools_silent) $(filter --j% -j,$(MAKEFLAGS))" O=$(abspath $(objtree)) subdir=tools -C $(src)/tools/
|
||||||
|
|
Loading…
Add table
Reference in a new issue