dont output anything when running in silent mode

This commit is contained in:
Mike Frysinger 2005-07-28 22:14:35 +00:00
parent 088ee4134b
commit c99e2c5f4c
2 changed files with 15 additions and 6 deletions

View File

@ -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 cat $(top_srcdir)/docs/busybox_footer.pod ) > docs/busybox.pod
docs/BusyBox.txt: docs/busybox.pod docs/BusyBox.txt: docs/busybox.pod
@echo $(SECHO)
@echo BusyBox Documentation $(SECHO) BusyBox Documentation
@echo $(SECHO)
-mkdir -p docs -mkdir -p docs
-pod2text $< > $@ -pod2text $< > $@
@ -220,9 +220,9 @@ include/bb_config.h: include/config.h
echo "#endif" >> $@ echo "#endif" >> $@
finished2: finished2:
@echo $(SECHO)
@echo Finished installing... $(SECHO) Finished installing...
@echo $(SECHO)
else # ifeq ($(strip $(HAVE_DOT_CONFIG)),y) else # ifeq ($(strip $(HAVE_DOT_CONFIG)),y)

View File

@ -109,6 +109,15 @@ endif
check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \ check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
then echo "$(1)"; else echo "$(2)"; fi) 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. # Arch specific compiler optimization stuff should go here.
# Unless you want to override the defaults, do not set anything # Unless you want to override the defaults, do not set anything