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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user