diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2015-02-05 16:45:06 -0800 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2015-02-05 16:45:06 -0800 |
commit | 634d92375150f813763bb06b07b06ef3d7a15142 (patch) | |
tree | eef54a7a7ddca4dc7e09a4359affc1fb1fd89c1b /configs/common/FSConfig.py | |
parent | 461a80beb36d29961b6eb88b9ce292042fffd53c (diff) | |
download | gem5-634d92375150f813763bb06b07b06ef3d7a15142.tar.xz |
config: make M5_PATH a real search path
Although you can put a list of colon-separated directory names
in M5_PATH, the current code just takes the first one that
exists and assumes all files must live there. This change
makes the code search the specified list of directories
for each individual binary or disk image that's requested.
The main motivation is that the x86/Alpha binaries and the
ARM binaries are in separate downloads, and thus naturally
end up in separate directories. With this change, you can
have M5_PATH point to those two directories, then run any
FS regression test without changing M5_PATH. Currently,
you either have to merge the two download directories
or change M5_PATH (or do something else I haven't figured out).
Diffstat (limited to 'configs/common/FSConfig.py')
0 files changed, 0 insertions, 0 deletions