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.
This commit is contained in:
Steve Reinhardt 2009-04-15 12:52:31 -07:00
parent 5c79191603
commit 9b66e82897

View file

@ -31,7 +31,7 @@ import sys
from os.path import basename, exists, join as joinpath, normpath from os.path import basename, exists, join as joinpath, normpath
from os.path import isdir, isfile, islink 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): def copyfiles(srcdir, dstdir):
from filecmp import cmp as filecmp from filecmp import cmp as filecmp