summaryrefslogtreecommitdiff
path: root/src/mem/ruby/eventqueue
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/ruby/eventqueue')
-rw-r--r--src/mem/ruby/eventqueue/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mem/ruby/eventqueue/SConscript b/src/mem/ruby/eventqueue/SConscript
index 523d71c09..0312df4e4 100644
--- a/src/mem/ruby/eventqueue/SConscript
+++ b/src/mem/ruby/eventqueue/SConscript
@@ -30,5 +30,8 @@
Import('*')
+if not env['RUBY']:
+ Return()
+
Source('RubyEventQueue.cc')
Source('RubyEventQueueNode.cc')