summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/ruby/system/SConscript')
-rw-r--r--src/mem/ruby/system/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mem/ruby/system/SConscript b/src/mem/ruby/system/SConscript
index 5ce612107..ee9b359c5 100644
--- a/src/mem/ruby/system/SConscript
+++ b/src/mem/ruby/system/SConscript
@@ -30,6 +30,9 @@
Import('*')
+if not env['RUBY']:
+ Return()
+
Source('DirectoryMemory.cc')
Source('MemoryControl.cc')
Source('MemoryNode.cc')