summaryrefslogtreecommitdiff
path: root/src/cpu/testers
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2011-08-08 10:50:13 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2011-08-08 10:50:13 -0500
commit821dfc12892ee841916d9aab411f2db7937ba7c4 (patch)
tree490ba41acbd7712c5950a8ed7a863a240b650247 /src/cpu/testers
parent5c0e6e6092bd532d861445c735fb5eba865f999d (diff)
downloadgem5-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/cpu/testers')
-rw-r--r--src/cpu/testers/directedtest/SConscript2
-rw-r--r--src/cpu/testers/rubytest/SConscript2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/testers/directedtest/SConscript b/src/cpu/testers/directedtest/SConscript
index a321a404c..01e778fd5 100644
--- a/src/cpu/testers/directedtest/SConscript
+++ b/src/cpu/testers/directedtest/SConscript
@@ -35,7 +35,7 @@ Import('*')
# When this dependency is removed, the ruby tester should be compiled
# independently from Ruby
#
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
SimObject('RubyDirectedTester.py')
diff --git a/src/cpu/testers/rubytest/SConscript b/src/cpu/testers/rubytest/SConscript
index 1b65932e7..70a4f480d 100644
--- a/src/cpu/testers/rubytest/SConscript
+++ b/src/cpu/testers/rubytest/SConscript
@@ -35,7 +35,7 @@ Import('*')
# When this dependency is removed, the ruby tester should be compiled
# independently from Ruby
#
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
SimObject('RubyTester.py')