mirror of
https://github.com/mii443/qemu.git
synced 2025-08-23 15:48:20 +00:00
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>
This commit is contained in:
committed by
Anthony Liguori
parent
6265e4ff32
commit
eac236ea7b
@ -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:
|
||||
|
Reference in New Issue
Block a user