summaryrefslogtreecommitdiff
path: root/src/mem/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/ruby')
-rw-r--r--src/mem/ruby/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mem/ruby/SConscript b/src/mem/ruby/SConscript
index 1f7509df4..339787a22 100644
--- a/src/mem/ruby/SConscript
+++ b/src/mem/ruby/SConscript
@@ -37,6 +37,9 @@ import SCons
Import('*')
+if env['TARGET_ISA'] == 'no':
+ Return()
+
if not env['RUBY']:
Return()