Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v1] package/pkg-waf.mk: enable verbose compile
@ 2022-01-03 21:56 Peter Seiderer
  2022-01-04  8:29 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Seiderer @ 2022-01-03 21:56 UTC (permalink / raw)
  To: buildroot; +Cc: Yann E . MORIN

Honour the buildroot verbose flag ('V=1') for the waf compile step by
adding '-v' to the build command.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
 package/pkg-waf.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/pkg-waf.mk b/package/pkg-waf.mk
index a593476a69..0239862ac6 100644
--- a/package/pkg-waf.mk
+++ b/package/pkg-waf.mk
@@ -20,6 +20,8 @@
 #
 ################################################################################
 
+WAF_OPTS	= $(if $(VERBOSE),-v) -j $(PARALLEL_JOBS)
+
 ################################################################################
 # inner-waf-package -- defines how the configuration, compilation and
 # installation of a waf package should be done, implements a few hooks
@@ -74,7 +76,7 @@ ifndef $(2)_BUILD_CMDS
 define $(2)_BUILD_CMDS
 	cd $$($$(PKG)_SRCDIR) && \
 	$$(TARGET_MAKE_ENV) $$(HOST_DIR)/bin/python3 $$($(2)_WAF) \
-		build -j $$(PARALLEL_JOBS) $$($(2)_BUILD_OPTS) \
+		build $$(WAF_OPTS) $$($(2)_BUILD_OPTS) \
 		$$($(2)_WAF_OPTS)
 endef
 endif
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-04  8:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-03 21:56 [Buildroot] [PATCH v1] package/pkg-waf.mk: enable verbose compile Peter Seiderer
2022-01-04  8:29 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox