From: George Dunlap <george.dunlap@citrix.com>
To: Wei Liu <wei.liu2@citrix.com>,
Xen-devel <xen-devel@lists.xenproject.org>
Cc: George Dunlap <george.dunlap@eu.citrix.com>,
Fabio Fantoni <fabio.fantoni@m2r.biz>,
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: Mon, 12 Oct 2015 10:17:48 +0100 [thread overview]
Message-ID: <561B7ABC.9040605@citrix.com> (raw)
In-Reply-To: <1444574483-1990-1-git-send-email-wei.liu2@citrix.com>
On 11/10/15 15:41, Wei Liu wrote:
> 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>
Oops -- tested not turning it on, but didn't test turning it on. :-)
Acked-by: George Dunlap <george.dunlap@citrix.com>
> ---
> 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@
>
prev parent reply other threads:[~2015-10-12 9:18 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
2015-10-12 9:17 ` George Dunlap [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=561B7ABC.9040605@citrix.com \
--to=george.dunlap@citrix.com \
--cc=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.