From cb7de2432ebc33de543bab7ea987641ede872239 Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Sun, 5 Jan 2014 11:33:34 +0100 Subject: [PATCH] moved muting "logic" away from application Makefile --- Makefile.include | 7 +++++++ dist/Makefile | 8 +------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Makefile.include b/Makefile.include index ab1ae07558..cee04a2a77 100644 --- a/Makefile.include +++ b/Makefile.include @@ -19,6 +19,13 @@ export CFLAGS export BINDIR =$(CURDIR)/bin/$(BOARD)/ +ifeq ($(QUIET),1) + AD=@ +else + AD= +endif +export AD + # mandatory includes! include $(RIOTBASE)/Makefile.modules include $(RIOTBOARD)/$(BOARD)/Makefile.include diff --git a/dist/Makefile b/dist/Makefile index a7560b9b0d..8bf05daf14 100644 --- a/dist/Makefile +++ b/dist/Makefile @@ -35,12 +35,6 @@ export RIOTBASE =$(CURDIR)/../../RIOT export INCLUDES = -I$(RIOTBOARD)/$(BOARD)/include -I$(RIOTBASE)/core/include -I$(RIOTCPU)/$(CPU)/include -I$(RIOTBASE)/sys/lib -I$(RIOTBASE)/sys/include/ -I$(RIOTBASE)/drivers/include/ -QUIET := 1 -ifeq($(QUIET),1) - AD=@ -else - AD= -endif -export AD +export QUIET := 1 include $(RIOTBASE)/Makefile.include