aboutsummaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2015-02-20 11:37:44 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-23 13:32:00 +1100
commitedba5b11158fc433a2b5519677bf76a995c4b9a2 (patch)
tree0d37beb3670025042b138534e19d5d210e38ff5b /Makefile.rules
parent5d512c68606b434d8dcf5d1d32103a072d82525e (diff)
downloadskiboot-edba5b11158fc433a2b5519677bf76a995c4b9a2.zip
skiboot-edba5b11158fc433a2b5519677bf76a995c4b9a2.tar.gz
skiboot-edba5b11158fc433a2b5519677bf76a995c4b9a2.tar.bz2
Makefile: Make "make --silient" make make momentarily much more muted
Currently "make --silient" still produces a lot of output. This mutes it. Plus alliteration is fun. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 3014c81..2aace78 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -13,11 +13,17 @@ define Q
$(2)
endef
else
+ifneq ($(filter s% -s%,$(MAKEFLAGS)),)
+define Q
+ @$(2)
+endef
+else
define Q
@echo " [$1] $(3)"
@$(2)
endef
endif
+endif
define cook_aflags
$(filter-out $(AFLAGS_SKIP_$(1)), $(CPPFLAGS) $(AFLAGS)) $(AFLAGS_$(1))