summaryrefslogtreecommitdiff
path: root/src/cpu/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/SConscript')
-rw-r--r--src/cpu/SConscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpu/SConscript b/src/cpu/SConscript
index 22388e6d9..f2c4f2c06 100644
--- a/src/cpu/SConscript
+++ b/src/cpu/SConscript
@@ -35,6 +35,11 @@ if env['TARGET_ISA'] == 'null':
Source('intr_control_noisa.cc')
Return()
+# Only build the protocol buffer instructions tracer if we have protobuf support
+if env['HAVE_PROTOBUF'] and env['TARGET_ISA'] != 'x86':
+ SimObject('InstPBTrace.py')
+ Source('inst_pb_trace.cc')
+
SimObject('CheckerCPU.py')
SimObject('BaseCPU.py')