summaryrefslogtreecommitdiff
path: root/src/cpu/testers/traffic_gen/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/testers/traffic_gen/SConscript')
-rw-r--r--src/cpu/testers/traffic_gen/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/testers/traffic_gen/SConscript b/src/cpu/testers/traffic_gen/SConscript
index f851b7925..fc99d6e36 100644
--- a/src/cpu/testers/traffic_gen/SConscript
+++ b/src/cpu/testers/traffic_gen/SConscript
@@ -52,6 +52,10 @@ Source('random_gen.cc')
DebugFlag('TrafficGen')
SimObject('BaseTrafficGen.py')
+if env['USE_PYTHON']:
+ Source('pygen.cc', add_tags='python')
+ SimObject('PyTrafficGen.py')
+
# Only build the traffic generator if we have support for protobuf as the
# tracing relies on it
if env['HAVE_PROTOBUF']: