Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Peter Seiderer <ps.report@gmx.net>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v1] package/pkg-waf.mk: enable verbose compile
Date: Tue, 4 Jan 2022 09:29:41 +0100	[thread overview]
Message-ID: <20220104082941.GQ69135@scaer> (raw)
In-Reply-To: <20220103215619.4580-1-ps.report@gmx.net>

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

      reply	other threads:[~2022-01-04  8:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220104082941.GQ69135@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@buildroot.org \
    --cc=ps.report@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox