* [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
* Re: [Buildroot] [PATCH v1] package/pkg-waf.mk: enable verbose compile
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
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2022-01-04 8:29 UTC (permalink / raw)
To: Peter Seiderer; +Cc: buildroot
Peter, All,
On 2022-01-03 22:56 +0100, Peter Seiderer spake thusly:
> 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)
s/\t=/ =/
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ################################################################################
> # 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
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.