All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] build: don't shadow debug with "@debug@" in tools build
@ 2015-10-11 14:41 Wei Liu
  2015-10-11 16:03 ` Fabio Fantoni
  2015-10-12  9:17 ` George Dunlap
  0 siblings, 2 replies; 3+ messages in thread
From: Wei Liu @ 2015-10-11 14:41 UTC (permalink / raw)
  To: Xen-devel
  Cc: George Dunlap, Ian Jackson, Fabio Fantoni, Wei Liu, Ian Campbell

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>
---
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@
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-12  9:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.