changeset 137a2b89eed4 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=137a2b89eed4
description:
        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:

1 file changed, 1 insertion(+), 1 deletion(-)
configs/common/cpu2000.py |    2 +-

diffs (12 lines):

diff -r 3d7c2fe13f6a -r 137a2b89eed4 configs/common/cpu2000.py
--- a/configs/common/cpu2000.py Mon Apr 13 04:14:15 2009 -0700
+++ b/configs/common/cpu2000.py Wed Apr 15 12:52:31 2009 -0700
@@ -31,7 +31,7 @@
 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
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to