summaryrefslogtreecommitdiff
path: root/src/cpu/trace/SConscript
blob: aa450b14a653d33d36ef9ffc2b7353e514881a58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Import('*')

if env['TARGET_ISA'] == 'null':
    Return()

# Only build TraceCPU if we have support for protobuf as TraceCPU relies on it
if env['HAVE_PROTOBUF']:
    SimObject('TraceCPU.py')
    Source('trace_cpu.cc')

DebugFlag('TraceCPUData')
DebugFlag('TraceCPUInst')