[openwrt/openwrt] build: use --no-print-directory for dumping subtargets
LEDE Commits
lede-commits at lists.infradead.org
Wed Jul 30 14:31:30 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/2684fe31d02e2c88ead04bca7c464e7906682c3c
commit 2684fe31d02e2c88ead04bca7c464e7906682c3c
Author: Sven Wegener <sven.wegener at stealer.net>
AuthorDate: Sun Jul 6 19:28:36 2025 +0200
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 <sven.wegener at stealer.net>
Link: https://github.com/openwrt/openwrt/pull/19326
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
include/target.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/target.mk b/include/target.mk
index b6c5e29d45..8ea6fff299 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
More information about the lede-commits
mailing list