summaryrefslogtreecommitdiff
path: root/configs/common
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2009-04-15 12:52:31 -0700
committerSteve Reinhardt <steve.reinhardt@amd.com>2009-04-15 12:52:31 -0700
commit9b66e8289781025bbc4d0e152737fa7c5d024ec8 (patch)
tree769c16cd1ab7eb9a51f0f3da93f21f68f4ef5c9e /configs/common
parent5c791916036b800509a6b1b72d442cb9858d995c (diff)
downloadgem5-9b66e8289781025bbc4d0e152737fa7c5d024ec8.tar.xz
configs: Allow M5_CPU2000 env var to set CPU2K binary path.
It would be nice to have a more comprehensive mechanism but this is a big improvement over manually editing the script.
Diffstat (limited to 'configs/common')
-rw-r--r--configs/common/cpu2000.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/common/cpu2000.py b/configs/common/cpu2000.py
index a2e64f822..f6c7a164f 100644
--- a/configs/common/cpu2000.py
+++ b/configs/common/cpu2000.py
@@ -31,7 +31,7 @@ import sys
from os.path import basename, exists, join as joinpath, normpath
from os.path import isdir, isfile, islink
-spec_dist = '/dist/m5/cpu2000'
+spec_dist = os.environ.get('M5_CPU2000', '/dist/m5/cpu2000')
def copyfiles(srcdir, dstdir):
from filecmp import cmp as filecmp