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