aboutsummaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-28 22:14:35 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-28 22:14:35 +0000
commitc99e2c5f4caa31b25442ca1e82076b7ba327652d (patch)
tree5858479da70b23eab882658b26bbb47dc11056e4 /Rules.mak
parent088ee4134b7e912ec79d927c6cf157b2bccedf98 (diff)
downloadbusybox-c99e2c5f4caa31b25442ca1e82076b7ba327652d.tar.gz
dont output anything when running in silent mode
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak9
1 files changed, 9 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index ec03ce011..f247439cb 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -109,6 +109,15 @@ endif
check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
then echo "$(1)"; else echo "$(2)"; 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
+else
+export MAKE_IS_SILENT=y
+SECHO=-@false
+endif
+
#--------------------------------------------------------
# Arch specific compiler optimization stuff should go here.
# Unless you want to override the defaults, do not set anything