From 020dd72982225bf36072130046c88c3fdab12811 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 4 Apr 2011 00:54:37 +0000 Subject: [PATCH] make the build system a bit more silent without V=99 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26460 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/subdir.mk | 2 +- toolchain/Makefile | 2 +- tools/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/subdir.mk b/include/subdir.mk index d079be118..a097db2b1 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 141f47852..5585b76db 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 c3596b759..80c2d1162 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; \ -- 2.20.1