diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-28 22:14:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-28 22:14:35 +0000 |
commit | c99e2c5f4caa31b25442ca1e82076b7ba327652d (patch) | |
tree | 5858479da70b23eab882658b26bbb47dc11056e4 | |
parent | 088ee4134b7e912ec79d927c6cf157b2bccedf98 (diff) | |
download | busybox-c99e2c5f4caa31b25442ca1e82076b7ba327652d.tar.gz |
dont output anything when running in silent mode
-rw-r--r-- | Makefile | 12 | ||||
-rw-r--r-- | Rules.mak | 9 |
2 files changed, 15 insertions, 6 deletions
@@ -163,9 +163,9 @@ docs/busybox.pod : $(top_srcdir)/docs/busybox_header.pod $(top_srcdir)/include/u cat $(top_srcdir)/docs/busybox_footer.pod ) > docs/busybox.pod docs/BusyBox.txt: docs/busybox.pod - @echo - @echo BusyBox Documentation - @echo + $(SECHO) + $(SECHO) BusyBox Documentation + $(SECHO) -mkdir -p docs -pod2text $< > $@ @@ -220,9 +220,9 @@ include/bb_config.h: include/config.h echo "#endif" >> $@ finished2: - @echo - @echo Finished installing... - @echo + $(SECHO) + $(SECHO) Finished installing... + $(SECHO) else # ifeq ($(strip $(HAVE_DOT_CONFIG)),y) @@ -109,6 +109,15 @@ endif check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \ then echo "$(1)"; else echo "$(2)"; fi) +# Setup some shortcuts so that silent mode is silent like it should be +ifeq ($(subst s,,$(MAKEFLAGS)),$(MAKEFLAGS)) +export MAKE_IS_SILENT=n +SECHO=@echo +else +export MAKE_IS_SILENT=y +SECHO=-@false +endif + #-------------------------------------------------------- # Arch specific compiler optimization stuff should go here. # Unless you want to override the defaults, do not set anything |