diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2016-10-14 10:37:38 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2016-10-14 10:37:38 -0400 |
commit | 2f5262eb67f0539ab6c07d56eeae1b72f6b6b509 (patch) | |
tree | 1261b4decbb504ce2836b77207466c98d6a327a4 /tests/configs/pc-simple-timing-ruby.py | |
parent | 824c87634d2d0606f9f62e8a3383c9a056069125 (diff) | |
download | gem5-2f5262eb67f0539ab6c07d56eeae1b72f6b6b509.tar.xz |
config: Make configs/common a Python package
Continue along the same line as the recent patch that made the
Ruby-related config scripts Python packages and make also the
configs/common directory a package.
All affected config scripts are updated (hopefully).
Note that this change makes it apparent that the current organisation
and naming of the config directory and its subdirectories is rather
chaotic. We mix scripts that are directly invoked with scripts that
merely contain convenience functions. While it is not addressed in
this patch we should follow up with a re-organisation of the
config structure, and renaming of some of the packages.
Diffstat (limited to 'tests/configs/pc-simple-timing-ruby.py')
-rw-r--r-- | tests/configs/pc-simple-timing-ruby.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/configs/pc-simple-timing-ruby.py b/tests/configs/pc-simple-timing-ruby.py index 32964a875..19c38dc32 100644 --- a/tests/configs/pc-simple-timing-ruby.py +++ b/tests/configs/pc-simple-timing-ruby.py @@ -28,13 +28,11 @@ import m5, os, optparse, sys from m5.objects import * -m5.util.addToPath('../configs/common') -from Benchmarks import SysConfig -import FSConfig - m5.util.addToPath('../configs/') +from common.Benchmarks import SysConfig +from common import FSConfig from ruby import Ruby -import Options +from common import Options # Add the ruby specific and protocol specific options parser = optparse.OptionParser() |