diff options
author | Nathan Binkert <nate@binkert.org> | 2009-05-11 10:38:46 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2009-05-11 10:38:46 -0700 |
commit | cf6b4ef734293e1efdfa015519230703be5d324a (patch) | |
tree | 933fa3ce189682857b3d8caa2a32728681024ca5 /src/mem/SConscript | |
parent | b174ec065e2b9f8ffa68c350b2563819eef5e9b1 (diff) | |
download | gem5-cf6b4ef734293e1efdfa015519230703be5d324a.tar.xz |
ruby: add RUBY sticky option that must be set to add ruby to the build
Default is false
Diffstat (limited to 'src/mem/SConscript')
-rw-r--r-- | src/mem/SConscript | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mem/SConscript b/src/mem/SConscript index 87498d21d..21335a709 100644 --- a/src/mem/SConscript +++ b/src/mem/SConscript @@ -34,7 +34,9 @@ SimObject('Bridge.py') SimObject('Bus.py') SimObject('MemObject.py') SimObject('PhysicalMemory.py') -SimObject('RubyMemory.py') + +if env['RUBY']: + SimObject('RubyMemory.py') Source('bridge.cc') Source('bus.cc') @@ -45,7 +47,9 @@ Source('physical.cc') Source('port.cc') Source('tport.cc') Source('mport.cc') -Source('rubymem.cc') + +if env['RUBY']: + Source('rubymem.cc') if env['FULL_SYSTEM']: Source('vport.cc') |