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 # Targets follow
all:: $(OBJS) all:: $(OBJS)
@:
.PHONY: clean depend distclean .PHONY: clean depend distclean
.PRECIOUS: $(BIN) .PRECIOUS: $(BIN)
@ -198,6 +199,7 @@ endif
$(eval PROGOBJ=$(filter-out $(firstword $(PROGOBJ)),$(PROGOBJ))) $(eval PROGOBJ=$(filter-out $(firstword $(PROGOBJ)),$(PROGOBJ)))
install:: $(PROGLIST) install:: $(PROGLIST)
@:
else else
@ -226,10 +228,12 @@ $(MAINZIGOBJ): %$(ZIGEXT)$(SUFFIX)$(OBJEXT): %$(ZIGEXT)
$(call ELFCOMPILEZIG, $<, $@), $(call COMPILEZIG, $<, $@)) $(call ELFCOMPILEZIG, $<, $@), $(call COMPILEZIG, $<, $@))
install:: install::
@:
endif # BUILD_MODULE endif # BUILD_MODULE
context:: context::
@:
ifneq ($(PROGNAME),) ifneq ($(PROGNAME),)
@ -243,8 +247,10 @@ $(REGLIST): $(DEPCONFIG) Makefile
$(if $(filter-out $(firstword $(STACKSIZE)),$(STACKSIZE)),$(eval STACKSIZE=$(filter-out $(firstword $(STACKSIZE)),$(STACKSIZE)))) $(if $(filter-out $(firstword $(STACKSIZE)),$(STACKSIZE)),$(eval STACKSIZE=$(filter-out $(firstword $(STACKSIZE)),$(STACKSIZE))))
register:: $(REGLIST) register:: $(REGLIST)
@:
else else
register:: register::
@:
endif endif
.depend: Makefile $(wildcard $(foreach SRC, $(SRCS), $(addsuffix /$(SRC), $(subst :, ,$(VPATH))))) $(DEPCONFIG) .depend: Makefile $(wildcard $(foreach SRC, $(SRCS), $(addsuffix /$(SRC), $(subst :, ,$(VPATH))))) $(DEPCONFIG)
@ -254,6 +260,7 @@ endif
$(Q) touch $@ $(Q) touch $@
depend:: .depend depend:: .depend
@:
clean:: clean::
$(call CLEAN) $(call CLEAN)

View File

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