From a5977aa2e8f2bbbe73d317d4211105f44f7c873e Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 22 Aug 2019 09:29:45 -0500 Subject: Quiet "make clean" so it doesn't fill a whole screen with output. --- Makefile | 6 ++++-- kconfig/Makefile | 2 +- scripts/genconfig.sh | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 397e4777..354c9bf9 100644 --- a/Makefile +++ b/Makefile @@ -61,11 +61,13 @@ change: scripts/change.sh clean:: - rm -rf toybox generated change .singleconfig* + @echo cleaning + @rm -rf toybox generated change .singleconfig* # If singlemake was in generated/ "make clean; make test_ls" wouldn't work. distclean: clean - rm -f toybox_old .config* .singlemake + @echo removing .config + @rm -f toybox_old .config* .singlemake tests: scripts/test.sh diff --git a/kconfig/Makefile b/kconfig/Makefile index f18938c9..90a8148e 100644 --- a/kconfig/Makefile +++ b/kconfig/Makefile @@ -74,4 +74,4 @@ kconfig/conf: $(SHIPPED) -DPROJECT_NAME=\"$(KCONFIG_PROJECT)\" clean:: - rm -f $(wildcard kconfig/*zconf*.c) kconfig/conf kconfig/mconf + @rm -f $(wildcard kconfig/*zconf*.c) kconfig/conf kconfig/mconf diff --git a/scripts/genconfig.sh b/scripts/genconfig.sh index 3d89fd1e..724888b3 100755 --- a/scripts/genconfig.sh +++ b/scripts/genconfig.sh @@ -162,7 +162,7 @@ do PENDING="$PENDING $NAME" || WORKING="$WORKING $NAME" done && -echo -e "clean::\n\trm -f $WORKING $PENDING" && +echo -e "clean::\n\t@rm -f $WORKING $PENDING" && echo -e "list:\n\t@echo $(echo $WORKING | tr ' ' '\n' | sort | xargs)" && echo -e "list_pending:\n\t@echo $(echo $PENDING | tr ' ' '\n' | sort | xargs)" && echo -e ".PHONY: $WORKING $PENDING" | $SED 's/ \([^ ]\)/ test_\1/g' -- cgit v1.2.3