From: Felix Fietkau Date: Mon, 4 Apr 2011 00:54:37 +0000 (+0000) Subject: make the build system a bit more silent without V=99 X-Git-Tag: v19.07.0-rc1~27676 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d637ae2fc858f09c5f699fd935711ef6d36693f8;p=openwrt%2Fstaging%2Fhauke.git make the build system a bit more silent without V=99 SVN-Revision: 26460 --- diff --git a/include/subdir.mk b/include/subdir.mk index d079be118e..a097db2b1d 100644 --- a/include/subdir.mk +++ b/include/subdir.mk @@ -59,7 +59,7 @@ define stampfile $(1)/stamp-$(3):=$(if $(6),$(6),$(STAGING_DIR))/stamp/.$(2)_$(3)$(if $(5),_$(call confvar,$(5))) $$($(1)/stamp-$(3)): $(TMP_DIR)/.build $(4) @+$(SCRIPT_DIR)/timestamp.pl -n $$($(1)/stamp-$(3)) $(1) $(4) || \ - $(MAKE) $$($(1)/flags-$(3)) $(1)/$(3) + $(MAKE) $(if $(QUIET),--no-print-directory) $$($(1)/flags-$(3)) $(1)/$(3) @mkdir -p $$$$(dirname $$($(1)/stamp-$(3))) @touch $$($(1)/stamp-$(3)) diff --git a/toolchain/Makefile b/toolchain/Makefile index 141f478522..5585b76dba 100644 --- a/toolchain/Makefile +++ b/toolchain/Makefile @@ -57,7 +57,7 @@ ifndef DUMP_TARGET_DB ifneq ($(ARCH),) $(TOOLCHAIN_DIR)/info.mk: .config @for dir in $(TOOLCHAIN_DIR); do ( \ - set -x; \ + $(if $(QUIET),,set -x;) \ mkdir -p "$$dir"; \ cd "$$dir"; \ mkdir -p stamp lib usr/include usr/lib ; \ diff --git a/tools/Makefile b/tools/Makefile index c3596b7591..80c2d11628 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -65,7 +65,7 @@ $(curdir)/builddirs-default := $(tools-y) ifndef DUMP_TARGET_DB define PrepareStaging @for dir in $(1); do ( \ - set -x; \ + $(if $(QUIET),,set -x;) \ mkdir -p "$$dir"; \ cd "$$dir"; \ mkdir -p bin lib include stamp; \