summaryrefslogtreecommitdiff
path: root/configs/example/se.py
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2016-10-14 10:37:38 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2016-10-14 10:37:38 -0400
commit2f5262eb67f0539ab6c07d56eeae1b72f6b6b509 (patch)
tree1261b4decbb504ce2836b77207466c98d6a327a4 /configs/example/se.py
parent824c87634d2d0606f9f62e8a3383c9a056069125 (diff)
downloadgem5-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 'configs/example/se.py')
-rw-r--r--configs/example/se.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/configs/example/se.py b/configs/example/se.py
index cfc82e83a..c48b99eb4 100644
--- a/configs/example/se.py
+++ b/configs/example/se.py
@@ -52,17 +52,16 @@ from m5.objects import *
from m5.util import addToPath, fatal
addToPath('../')
-addToPath('../common')
from ruby import Ruby
-import Options
-import Simulation
-import CacheConfig
-import CpuConfig
-import MemConfig
-from Caches import *
-from cpu2000 import *
+from common import Options
+from common import Simulation
+from common import CacheConfig
+from common import CpuConfig
+from common import MemConfig
+from common.Caches import *
+from common.cpu2000 import *
# Check if KVM support has been enabled, we might need to do VM
# configuration if that's the case.