diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2011-08-08 10:50:13 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2011-08-08 10:50:13 -0500 |
commit | 821dfc12892ee841916d9aab411f2db7937ba7c4 (patch) | |
tree | 490ba41acbd7712c5950a8ed7a863a240b650247 /src/mem/ruby/network | |
parent | 5c0e6e6092bd532d861445c735fb5eba865f999d (diff) | |
download | gem5-821dfc12892ee841916d9aab411f2db7937ba7c4.tar.xz |
BuildEnv: Eliminate RUBY as build environment variable
This patch replaces RUBY with PROTOCOL in all the SConscript files as
the environment variable that decides whether or not certain components
of the simulator are compiled.
Diffstat (limited to 'src/mem/ruby/network')
-rw-r--r-- | src/mem/ruby/network/SConscript | 2 | ||||
-rw-r--r-- | src/mem/ruby/network/garnet/SConscript | 2 | ||||
-rw-r--r-- | src/mem/ruby/network/garnet/fixed-pipeline/SConscript | 2 | ||||
-rw-r--r-- | src/mem/ruby/network/garnet/flexible-pipeline/SConscript | 2 | ||||
-rw-r--r-- | src/mem/ruby/network/orion/Allocator/SConscript | 2 | ||||
-rw-r--r-- | src/mem/ruby/network/orion/Buffer/SConscript | 2 | ||||
-rw-r--r-- | src/mem/ruby/network/orion/Crossbar/SConscript | 2 | ||||
-rw-r--r-- | src/mem/ruby/network/orion/SConscript | 2 | ||||
-rw-r--r-- | src/mem/ruby/network/simple/SConscript | 2 | ||||
-rw-r--r-- | src/mem/ruby/network/topologies/SConscript | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/src/mem/ruby/network/SConscript b/src/mem/ruby/network/SConscript index 3c3bcea06..c4abba716 100644 --- a/src/mem/ruby/network/SConscript +++ b/src/mem/ruby/network/SConscript @@ -30,7 +30,7 @@ Import('*') -if not env['RUBY']: +if env['PROTOCOL'] == 'None': Return() SimObject('BasicLink.py') diff --git a/src/mem/ruby/network/garnet/SConscript b/src/mem/ruby/network/garnet/SConscript index 14540426f..516bdb564 100644 --- a/src/mem/ruby/network/garnet/SConscript +++ b/src/mem/ruby/network/garnet/SConscript @@ -30,7 +30,7 @@ Import('*') -if not env['RUBY']: +if env['PROTOCOL'] == 'None': Return() SimObject('BaseGarnetNetwork.py') diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/SConscript b/src/mem/ruby/network/garnet/fixed-pipeline/SConscript index ae3b964de..0010f3d1a 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/SConscript +++ b/src/mem/ruby/network/garnet/fixed-pipeline/SConscript @@ -30,7 +30,7 @@ Import('*') -if not env['RUBY']: +if env['PROTOCOL'] == 'None': Return() SimObject('GarnetLink_d.py') diff --git a/src/mem/ruby/network/garnet/flexible-pipeline/SConscript b/src/mem/ruby/network/garnet/flexible-pipeline/SConscript index 03f4e3fdb..0e97f1698 100644 --- a/src/mem/ruby/network/garnet/flexible-pipeline/SConscript +++ b/src/mem/ruby/network/garnet/flexible-pipeline/SConscript @@ -30,7 +30,7 @@ Import('*') -if not env['RUBY']: +if env['PROTOCOL'] == 'None': Return() SimObject('GarnetLink.py') diff --git a/src/mem/ruby/network/orion/Allocator/SConscript b/src/mem/ruby/network/orion/Allocator/SConscript index eede26a79..e85844bac 100644 --- a/src/mem/ruby/network/orion/Allocator/SConscript +++ b/src/mem/ruby/network/orion/Allocator/SConscript @@ -28,7 +28,7 @@ Import('*') -if not env['RUBY']: +if env['PROTOCOL'] == 'None': Return() Source('Arbiter.cc') diff --git a/src/mem/ruby/network/orion/Buffer/SConscript b/src/mem/ruby/network/orion/Buffer/SConscript index 3db8c4a01..20e528c09 100644 --- a/src/mem/ruby/network/orion/Buffer/SConscript +++ b/src/mem/ruby/network/orion/Buffer/SConscript @@ -28,7 +28,7 @@ Import('*') -if not env['RUBY']: +if env['PROTOCOL'] == 'None': Return() Source('AmpUnit.cc') diff --git a/src/mem/ruby/network/orion/Crossbar/SConscript b/src/mem/ruby/network/orion/Crossbar/SConscript index 76774da1b..710046978 100644 --- a/src/mem/ruby/network/orion/Crossbar/SConscript +++ b/src/mem/ruby/network/orion/Crossbar/SConscript @@ -28,7 +28,7 @@ Import('*') -if not env['RUBY']: +if env['PROTOCOL'] == 'None': Return() Source('Crossbar.cc') diff --git a/src/mem/ruby/network/orion/SConscript b/src/mem/ruby/network/orion/SConscript index 8a6383bfb..4a0e8fa96 100644 --- a/src/mem/ruby/network/orion/SConscript +++ b/src/mem/ruby/network/orion/SConscript @@ -27,7 +27,7 @@ Import('*') -if not env['RUBY']: +if env['PROTOCOL'] == 'None': Return() Source('NetworkPower.cc') diff --git a/src/mem/ruby/network/simple/SConscript b/src/mem/ruby/network/simple/SConscript index 6bd836784..14d354b65 100644 --- a/src/mem/ruby/network/simple/SConscript +++ b/src/mem/ruby/network/simple/SConscript @@ -30,7 +30,7 @@ Import('*') -if not env['RUBY']: +if env['PROTOCOL'] == 'None': Return() SimObject('SimpleLink.py') diff --git a/src/mem/ruby/network/topologies/SConscript b/src/mem/ruby/network/topologies/SConscript index 0a2ba1b46..a3c41a6d3 100644 --- a/src/mem/ruby/network/topologies/SConscript +++ b/src/mem/ruby/network/topologies/SConscript @@ -30,7 +30,7 @@ Import('*') -if not env['RUBY']: +if env['PROTOCOL'] == 'None': Return() PySource('', 'Crossbar.py') |