From e5760ee3f30b36e1ce866c68db759a40a2ecd8b0 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 28 Jul 2005 22:30:32 +0000 Subject: further refine output so the silent mode of make is truly silent --- Rules.mak | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index 762880eda..91dbec36c 100644 --- a/Rules.mak +++ b/Rules.mak @@ -94,6 +94,17 @@ check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; check_as=$(shell if $(CC) -Wa,$(1) -Wa,-Z -c -o /dev/null -xassembler /dev/null > /dev/null 2>&1; \ then echo "-Wa,$(1)"; fi) +# Setup some shortcuts so that silent mode is silent like it should be +ifeq ($(subst s,,$(MAKEFLAGS)),$(MAKEFLAGS)) +export MAKE_IS_SILENT=n +SECHO=@echo +SHELL_SET_X=set -x +else +export MAKE_IS_SILENT=y +SECHO=-@false +SHELL_SET_X=set +x +endif + # Make certain these contain a final "/", but no "//"s. TARGET_ARCH:=$(shell grep -s ^TARGET_ARCH $(TOPDIR)/.config | sed -e 's/^TARGET_ARCH=//' -e 's/"//g') RUNTIME_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(RUNTIME_PREFIX)))))) -- cgit v1.2.3