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:
parent
5c79191603
commit
9b66e82897
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue