projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c79191
)
configs: Allow M5_CPU2000 env var to set CPU2K binary path.
author
Steve Reinhardt
<steve.reinhardt@amd.com>
Wed, 15 Apr 2009 19:52:31 +0000
(12:52 -0700)
committer
Steve Reinhardt
<steve.reinhardt@amd.com>
Wed, 15 Apr 2009 19:52:31 +0000
(12:52 -0700)
It would be nice to have a more comprehensive mechanism
but this is a big improvement over manually editing the script.
configs/common/cpu2000.py
patch
|
blob
|
history
diff --git
a/configs/common/cpu2000.py
b/configs/common/cpu2000.py
index a2e64f822b7de3006bc4e4b6aa616c26a5f46646..f6c7a164f7649ab236febeb6b803da798ab7b19b 100644
(file)
--- 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