1Import('*')
2
3if env['TARGET_ISA'] == 'null':
4    Return()
5
6# Only build TraceCPU if we have support for protobuf as TraceCPU relies on it
7if env['HAVE_PROTOBUF']:
8    SimObject('TraceCPU.py')
9    Source('trace_cpu.cc')
10
11DebugFlag('TraceCPUData')
12DebugFlag('TraceCPUInst')
13