From edba5b11158fc433a2b5519677bf76a995c4b9a2 Mon Sep 17 00:00:00 2001 From: Michael Neuling Date: Fri, 20 Feb 2015 11:37:44 +1100 Subject: 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 Signed-off-by: Stewart Smith --- Makefile.rules | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile.rules') 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)) -- cgit v1.1