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.
This commit is contained in:
Stuart Ianna 2023-05-19 11:42:48 +10:00 committed by Xiang Xiao
parent c9c4cc13e6
commit 40886698fb
2 changed files with 8 additions and 0 deletions

View File

@ -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)

View File

@ -51,6 +51,7 @@ endif
$(Q) touch .kconfig
clean: $(foreach SDIR, $(CLEANSUBDIRS), $(SDIR)_clean)
@:
distclean: $(foreach SDIR, $(CLEANSUBDIRS), $(SDIR)_distclean)
ifneq ($(MENUDESC),)