diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-28 22:30:32 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-28 22:30:32 +0000 |
commit | e5760ee3f30b36e1ce866c68db759a40a2ecd8b0 (patch) | |
tree | 852a93e580b18bf10d3ff2d7e7f3898c16933823 /Rules.mak | |
parent | b3bccca4b73e2759e5a30ad3d1a21b96d017eadb (diff) |
further refine output so the silent mode of make is truly silent
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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)))))) |