mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] make make -s more silent
@ 2012-10-15 19:15 Sascha Hauer
  0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2012-10-15 19:15 UTC (permalink / raw)
  To: barebox

use $(kecho) instead of echo to not output messages with
make -s

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 Makefile                |    6 +++---
 arch/arm/pbl/Makefile   |    2 +-
 arch/arm/tools/Makefile |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile
index 881680d..af3711a 100644
--- a/Makefile
+++ b/Makefile
@@ -894,7 +894,7 @@ endef
 # directory for generated filesas used by some architectures.
 define create-symlink
 	if [ ! -L include/asm ]; then					\
-			echo '  SYMLINK $@ -> include/asm-$(SRCARCH)';	\
+			$(kecho) '  SYMLINK $@ -> include/asm-$(SRCARCH)';	\
 			if [ ! -d include/asm-$(SRCARCH) ]; then	\
 				mkdir -p include/asm-$(SRCARCH);	\
 			fi;						\
@@ -907,11 +907,11 @@ include/asm:
 	$(Q)$(create-symlink)
 
 include/config.h: include/config/auto.conf
-	@echo '  SYMLINK $@ -> $(BOARD)/config.h'
+	$(kecho) '  SYMLINK $@ -> $(BOARD)/config.h'
 ifneq ($(KBUILD_SRC),)
 	$(Q)ln -fsn $(srctree)/$(BOARD)/config.h $@
 else
-	@ln -fsn ../$(BOARD)/config.h $@
+	$(Q)ln -fsn ../$(BOARD)/config.h $@
 endif
 
 # Generate some files
diff --git a/arch/arm/pbl/Makefile b/arch/arm/pbl/Makefile
index fe68e72..4e4e7ef 100644
--- a/arch/arm/pbl/Makefile
+++ b/arch/arm/pbl/Makefile
@@ -14,7 +14,7 @@ extra-y       += piggy.gzip piggy.lzo piggy.lzma piggy.xzkern
 $(obj)/zbarebox.bin:	$(obj)/zbarebox FORCE
 	$(call if_changed,objcopy)
 	$(call cmd,check_file_size,$(CONFIG_BAREBOX_MAX_IMAGE_SIZE))
-	@echo '  Barebox: $@ is ready'
+	$(kecho) '  Barebox: $@ is ready'
 
 $(obj)/zbarebox.S: $(obj)/zbarebox FORCE
 	$(call if_changed,disasm)
diff --git a/arch/arm/tools/Makefile b/arch/arm/tools/Makefile
index 635cb18..7d8c14a 100644
--- a/arch/arm/tools/Makefile
+++ b/arch/arm/tools/Makefile
@@ -5,6 +5,6 @@
 #
 
 include/generated/mach-types.h: $(src)/gen-mach-types $(src)/mach-types
-	@echo '  Generating $@'
-	@mkdir -p $(dir $@)
+	$(kecho) '  Generating $@'
+	$(Q)mkdir -p $(dir $@)
 	$(Q)$(AWK) -f $^ > $@ || { rm -f $@; /bin/false; }
-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-15 19:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-15 19:15 [PATCH] make make -s more silent Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox