]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
build: use --no-print-directory for dumping subtargets 19326/head
authorSven Wegener <sven.wegener@stealer.net>
Sun, 6 Jul 2025 17:28:36 +0000 (19:28 +0200)
committerRobert Marko <robimarko@gmail.com>
Wed, 30 Jul 2025 21:31:26 +0000 (23:31 +0200)
Or else we end up with "Entering directory" and "Leaving directory" from make in tmp/.targetinfo

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Link: https://github.com/openwrt/openwrt/pull/19326
Signed-off-by: Robert Marko <robimarko@gmail.com>
include/target.mk

index b6c5e29d45e43332f8440ba2d8792c80f4a6e14c..8ea6fff299f8a05859537bc4f38dd2e45379664f 100644 (file)
@@ -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