From: Wei Liu Date: Mon, 12 Oct 2015 14:02:53 +0000 (+0200) Subject: build: don't shadow debug with "@debug@" in tools build X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~2396 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=973ce7bd8fb1513dcc5ff04760e03915a9eccd08;p=xen.git build: don't shadow debug with "@debug@" in tools build 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 Acked-by: George Dunlap --- diff --git a/config/Tools.mk.in b/config/Tools.mk.in index 9bd5f6c606..ccfe13719b 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@