summaryrefslogtreecommitdiff
path: root/src/mem/ruby/profiler/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/ruby/profiler/SConscript')
-rw-r--r--src/mem/ruby/profiler/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mem/ruby/profiler/SConscript b/src/mem/ruby/profiler/SConscript
index b27d1da0c..008a36a29 100644
--- a/src/mem/ruby/profiler/SConscript
+++ b/src/mem/ruby/profiler/SConscript
@@ -30,6 +30,9 @@
Import('*')
+if not env['RUBY']:
+ Return()
+
Source('AccessTraceForAddress.cc')
Source('AddressProfiler.cc')
Source('CacheProfiler.cc')