summaryrefslogtreecommitdiff
path: root/src/mem/ruby/SConscript
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2010-11-19 18:00:39 -0600
committerAli Saidi <Ali.Saidi@ARM.com>2010-11-19 18:00:39 -0600
commite1b9a815dd34b8c2ff9db1225d3553eab287ba1b (patch)
tree3f71a4461ca57c215ba9abac0449fb251eb52e80 /src/mem/ruby/SConscript
parent92655b6399df526c8fe69f3b566dc9c7761782e3 (diff)
downloadgem5-e1b9a815dd34b8c2ff9db1225d3553eab287ba1b.tar.xz
SCons: Support building without an ISA
Diffstat (limited to 'src/mem/ruby/SConscript')
-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()