From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] go: honor building with V=1 for debugging purposes
Date: Fri, 11 May 2018 13:11:21 +0200 [thread overview]
Message-ID: <20180511131121.28481b7d@windsurf.home> (raw)
In-Reply-To: <20180511101020.10295-3-anisse@astier.eu>
Hello Anisse,
On Fri, 11 May 2018 12:10:19 +0200, Anisse Astier wrote:
> Signed-off-by: Anisse Astier <anisse@astier.eu>
> ---
> package/go/go.mk | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/package/go/go.mk b/package/go/go.mk
> index 37bb9801c2..bc5aca2bb7 100644
> --- a/package/go/go.mk
> +++ b/package/go/go.mk
> @@ -76,10 +76,13 @@ HOST_GO_TARGET_CC = \
> CC_FOR_TARGET="$(TARGET_CC)" \
> CXX_FOR_TARGET="$(TARGET_CXX)"
>
> +ifneq ($(V),)
> +VERBOSE=-v
Please name the variable GO_VERBOSE and not just VERBOSE. Remember that
Buildroot has a global namespace of make variables, so if you define
VERBOSE here, you override the value of the VERBOSE variable defined in
the main Makefile.
Also, please use VERBOSE instead of testing $(V).
Perhaps do just like cargo.mk is doing:
HOST_CARGO_SNAP_OPTS = \
--release \
$(if $(VERBOSE),--verbose)
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2018-05-11 11:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-11 10:10 [Buildroot] [PATCH 0/3] go package fixes Anisse Astier
2018-05-11 10:10 ` [Buildroot] [PATCH 1/3] go: patch to fix cross-compilation support Anisse Astier
2018-05-11 11:09 ` Thomas Petazzoni
2018-05-11 12:38 ` anisse at astier.eu
2018-05-11 12:55 ` Thomas Petazzoni
2018-05-11 10:10 ` [Buildroot] [PATCH 2/3] go: honor building with V=1 for debugging purposes Anisse Astier
2018-05-11 11:11 ` Thomas Petazzoni [this message]
2018-05-11 10:10 ` [Buildroot] [PATCH 3/3] go: bump to version 1.10.2 Anisse Astier
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=20180511131121.28481b7d@windsurf.home \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.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