From 9b66e8289781025bbc4d0e152737fa7c5d024ec8 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Wed, 15 Apr 2009 12:52:31 -0700 Subject: [PATCH] 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. --- configs/common/cpu2000.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/common/cpu2000.py b/configs/common/cpu2000.py index a2e64f822..f6c7a164f 100644 --- 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 -- 2.30.2