From: Sven Wegener Date: Sun, 6 Jul 2025 17:28:36 +0000 (+0200) Subject: build: use --no-print-directory for dumping subtargets X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2684fe31d02e2c88ead04bca7c464e7906682c3c;p=thirdparty%2Fopenwrt.git build: use --no-print-directory for dumping subtargets Or else we end up with "Entering directory" and "Leaving directory" from make in tmp/.targetinfo Signed-off-by: Sven Wegener Link: https://github.com/openwrt/openwrt/pull/19326 Signed-off-by: Robert Marko --- diff --git a/include/target.mk b/include/target.mk index b6c5e29d45e..8ea6fff299f 100644 --- a/include/target.mk +++ b/include/target.mk @@ -389,7 +389,7 @@ define BuildTargets/DumpCurrent echo 'Default-Packages: $(DEFAULT_PACKAGES) $(call extra_packages,$(DEFAULT_PACKAGES))'; \ $(DUMPINFO) $(if $(CUR_SUBTARGET),$(SUBMAKE) -r --no-print-directory -C image -s DUMP=1 SUBTARGET=$(CUR_SUBTARGET)) - $(if $(SUBTARGET),,@$(foreach SUBTARGET,$(SUBTARGETS),$(SUBMAKE) -s DUMP=1 SUBTARGET=$(SUBTARGET); )) + $(if $(SUBTARGET),,@$(foreach SUBTARGET,$(SUBTARGETS),$(SUBMAKE) --no-print-directory -s DUMP=1 SUBTARGET=$(SUBTARGET); )) endef include $(INCLUDE_DIR)/kernel.mk