[Skiboot] [PATCH 01/16] Makefile: Make "make --silient" make make momentarily much more muted

Michael Neuling mikey at neuling.org
Fri Feb 20 11:37:44 AEDT 2015


Currently "make --silient" still produces a lot of output.  This mutes it.

Plus alliteration is fun.

Signed-off-by: Michael Neuling <mikey at neuling.org>
---
 Makefile.rules | 6 ++++++
 1 file changed, 6 insertions(+)

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))
-- 
2.1.0



More information about the Skiboot mailing list