From 40886698fb670ca1c1bc7f33b7e1cfe37a527309 Mon Sep 17 00:00:00 2001 From: Stuart Ianna Date: Fri, 19 May 2023 11:42:48 +1000 Subject: [PATCH] mk: Attempt to silence "Nothing to be done for xx" messages. When rebuilding, it's not really useful to see reams of "Nothing to be done for" for every application being built. This change attempts to silence these messages. --- Application.mk | 7 +++++++ Directory.mk | 1 + 2 files changed, 8 insertions(+) diff --git a/Application.mk b/Application.mk index 6bf6e6667..0bac7a6ff 100644 --- a/Application.mk +++ b/Application.mk @@ -106,6 +106,7 @@ VPATH += :. # Targets follow all:: $(OBJS) + @: .PHONY: clean depend distclean .PRECIOUS: $(BIN) @@ -198,6 +199,7 @@ endif $(eval PROGOBJ=$(filter-out $(firstword $(PROGOBJ)),$(PROGOBJ))) install:: $(PROGLIST) + @: else @@ -226,10 +228,12 @@ $(MAINZIGOBJ): %$(ZIGEXT)$(SUFFIX)$(OBJEXT): %$(ZIGEXT) $(call ELFCOMPILEZIG, $<, $@), $(call COMPILEZIG, $<, $@)) install:: + @: endif # BUILD_MODULE context:: + @: ifneq ($(PROGNAME),) @@ -243,8 +247,10 @@ $(REGLIST): $(DEPCONFIG) Makefile $(if $(filter-out $(firstword $(STACKSIZE)),$(STACKSIZE)),$(eval STACKSIZE=$(filter-out $(firstword $(STACKSIZE)),$(STACKSIZE)))) register:: $(REGLIST) + @: else register:: + @: endif .depend: Makefile $(wildcard $(foreach SRC, $(SRCS), $(addsuffix /$(SRC), $(subst :, ,$(VPATH))))) $(DEPCONFIG) @@ -254,6 +260,7 @@ endif $(Q) touch $@ depend:: .depend + @: clean:: $(call CLEAN) diff --git a/Directory.mk b/Directory.mk index 8c96d7fba..81d39fd56 100644 --- a/Directory.mk +++ b/Directory.mk @@ -51,6 +51,7 @@ endif $(Q) touch .kconfig clean: $(foreach SDIR, $(CLEANSUBDIRS), $(SDIR)_clean) + @: distclean: $(foreach SDIR, $(CLEANSUBDIRS), $(SDIR)_distclean) ifneq ($(MENUDESC),)