From: Fabio Fantoni Subject: Re: [PATCH] build: don't shadow debug with "@debug@" in tools build Date: Sun, 11 Oct 2015 18:03:12 +0200 Message-ID: <561A8840.2070301@m2r.biz> References: <1444574483-1990-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZlJ5f-0000la-E7 for xen-devel@lists.xenproject.org; Sun, 11 Oct 2015 16:03:15 +0000 Received: by wicge5 with SMTP id ge5so123339525wic.0 for ; Sun, 11 Oct 2015 09:03:13 -0700 (PDT) In-Reply-To: <1444574483-1990-1-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu , Xen-devel Cc: George Dunlap , Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org 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 > Signed-off-by: Wei Liu Tested-by: Fabio Fantoni Thanks, tried and now seems all ok about debug things on build FWIK. > --- > Cc: Fabio Fantoni > Cc: Ian Campbell > Cc: Ian Jackson > Cc: George Dunlap > > 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@