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/ruby/network | |
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/ruby/network')
-rw-r--r-- | src/mem/ruby/network/garnet-fixed-pipeline/SConscript | 3 | ||||
-rw-r--r-- | src/mem/ruby/network/garnet-flexible-pipeline/SConscript | 3 | ||||
-rw-r--r-- | src/mem/ruby/network/orion/SConscript | 3 | ||||
-rw-r--r-- | src/mem/ruby/network/simple/SConscript | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/src/mem/ruby/network/garnet-fixed-pipeline/SConscript b/src/mem/ruby/network/garnet-fixed-pipeline/SConscript index bcd1b09ac..0814df2f5 100644 --- a/src/mem/ruby/network/garnet-fixed-pipeline/SConscript +++ b/src/mem/ruby/network/garnet-fixed-pipeline/SConscript @@ -30,6 +30,9 @@ Import('*') +if not env['RUBY']: + Return() + Source('GarnetNetwork_d.cc') Source('InputUnit_d.cc') Source('NetworkInterface_d.cc') diff --git a/src/mem/ruby/network/garnet-flexible-pipeline/SConscript b/src/mem/ruby/network/garnet-flexible-pipeline/SConscript index 039ef41c2..a376bf10f 100644 --- a/src/mem/ruby/network/garnet-flexible-pipeline/SConscript +++ b/src/mem/ruby/network/garnet-flexible-pipeline/SConscript @@ -30,6 +30,9 @@ Import('*') +if not env['RUBY']: + Return() + Source('GarnetNetwork.cc') Source('InVcState.cc') Source('NetworkInterface.cc') diff --git a/src/mem/ruby/network/orion/SConscript b/src/mem/ruby/network/orion/SConscript index efa9025d6..99b38bc22 100644 --- a/src/mem/ruby/network/orion/SConscript +++ b/src/mem/ruby/network/orion/SConscript @@ -30,6 +30,9 @@ Import('*') +if not env['RUBY']: + Return() + Source('NetworkPower.cc', Werror=False) Source('power_arbiter.cc') Source('power_array.cc', Werror=False) diff --git a/src/mem/ruby/network/simple/SConscript b/src/mem/ruby/network/simple/SConscript index b12bfc854..3df736c00 100644 --- a/src/mem/ruby/network/simple/SConscript +++ b/src/mem/ruby/network/simple/SConscript @@ -30,6 +30,9 @@ Import('*') +if not env['RUBY']: + Return() + Source('PerfectSwitch.cc') Source('SimpleNetwork.cc') Source('Switch.cc') |