From: Fabio Fantoni <fabio.fantoni@m2r.biz>
To: Wei Liu <wei.liu2@citrix.com>,
Xen-devel <xen-devel@lists.xenproject.org>
Cc: George Dunlap <george.dunlap@eu.citrix.com>,
Ian Jackson <ian.jackson@eu.citrix.com>,
Ian Campbell <ian.campbell@citrix.com>
Subject: Re: [PATCH] build: don't shadow debug with "@debug@" in tools build
Date: Sun, 11 Oct 2015 18:03:12 +0200 [thread overview]
Message-ID: <561A8840.2070301@m2r.biz> (raw)
In-Reply-To: <1444574483-1990-1-git-send-email-wei.liu2@citrix.com>
Il 11/10/2015 16:41, Wei Liu ha scritto:
> In 16181cbb (tools: Honor Config.mk debug value, rather than setting our
> own), configure doesn't set debug variable anymore. There is, however,
> one place that was missed. The file config/Tools.mk.in was still
> expecting a @debug@ value from configure. After 16181cbb that value
> remained "debug := @debug@" all the time because configure didn't
> substitute it.
>
> The consequence was that we couldn't get a debug build even if debug was
> set to "y" in Config.mk.
>
> Fix this by removing the stray line "debug := @debug@" in Tools.mk.in.
>
> Reported-by: Fabio Fantoni <fabio.fantoni@m2r.biz>
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Tested-by: Fabio Fantoni <fabio.fantoni@m2r.biz>
Thanks, tried and now seems all ok about debug things on build FWIK.
> ---
> Cc: Fabio Fantoni <fabio.fantoni@m2r.biz>
> Cc: Ian Campbell <ian.campbell@citrix.com>
> Cc: Ian Jackson <ian.jackson@eu.citrix.com>
> Cc: George Dunlap <george.dunlap@eu.citrix.com>
>
> Backport candidate for 4.6.
> ---
> config/Tools.mk.in | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/config/Tools.mk.in b/config/Tools.mk.in
> index 9bd5f6c..ccfe137 100644
> --- a/config/Tools.mk.in
> +++ b/config/Tools.mk.in
> @@ -5,9 +5,6 @@ ifeq ($(CONFIG_RUMP),y)
> XEN_OS := NetBSDRump
> endif
>
> -# A debug build of tools?
> -debug := @debug@
> -
> # Tools path
> BISON := @BISON@
> FLEX := @FLEX@
next prev parent reply other threads:[~2015-10-11 16:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-11 14:41 [PATCH] build: don't shadow debug with "@debug@" in tools build Wei Liu
2015-10-11 16:03 ` Fabio Fantoni [this message]
2015-10-12 9:17 ` George Dunlap
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=561A8840.2070301@m2r.biz \
--to=fabio.fantoni@m2r.biz \
--cc=george.dunlap@eu.citrix.com \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/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 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.