diff options
author | Rob Landley <rob@landley.net> | 2019-08-22 09:29:45 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-08-22 09:29:45 -0500 |
commit | a5977aa2e8f2bbbe73d317d4211105f44f7c873e (patch) | |
tree | cfb260663d6463675a3328152e19ab20fced5da7 | |
parent | 49164c7c0b43e8178bb292d005c4666db7d55e13 (diff) | |
download | toybox-a5977aa2e8f2bbbe73d317d4211105f44f7c873e.tar.gz |
Quiet "make clean" so it doesn't fill a whole screen with output.
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | kconfig/Makefile | 2 | ||||
-rwxr-xr-x | scripts/genconfig.sh | 2 |
3 files changed, 6 insertions, 4 deletions
@@ -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' |