summary refs log tree commit diff stats
path: root/scripts/tracetool/format
diff options
context:
space:
mode:
authorLluís Vilanova <vilanova@ac.upc.edu>2012-12-14 20:13:09 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2012-12-23 14:28:02 -0600
commiteac236ea7bfc1902126be70459e320591078df5c (patch)
tree5b126e6f8925eab15e7265a0c424ce570b709636 /scripts/tracetool/format
parent6265e4ff327763b6362cba472e2b46f2dcf18762 (diff)
downloadfocaccia-qemu-eac236ea7bfc1902126be70459e320591078df5c.tar.gz
focaccia-qemu-eac236ea7bfc1902126be70459e320591078df5c.zip
build: Use separate makefile for "trace/"
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
--
Changes in v2:

* Do not depend on "qemu-timer-common.o".
* Use "$(obj)" in rules to refer to the build sub-directory.
* Remove dependencies against "$(GENERATED_HEADERS)".

Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'scripts/tracetool/format')
-rw-r--r--scripts/tracetool/format/h.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/tracetool/format/h.py b/scripts/tracetool/format/h.py
index 6ffb3c2f4e..9a58de1331 100644
--- a/scripts/tracetool/format/h.py
+++ b/scripts/tracetool/format/h.py
@@ -19,8 +19,8 @@ from tracetool import out
 def begin(events):
     out('/* This file is autogenerated by tracetool, do not edit. */',
         '',
-        '#ifndef TRACE_H',
-        '#define TRACE_H',
+        '#ifndef TRACE__GENERATED_TRACERS_H',
+        '#define TRACE__GENERATED_TRACERS_H',
         '',
         '#include "qemu-common.h"')
 
@@ -32,7 +32,7 @@ def end(events):
             enabled = 1
         out('#define TRACE_%s_ENABLED %d' % (e.name.upper(), enabled))
     out('',
-        '#endif /* TRACE_H */')
+        '#endif /* TRACE__GENERATED_TRACERS_H */')
 
 def nop(events):
     for e in events: