From 2f5262eb67f0539ab6c07d56eeae1b72f6b6b509 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Fri, 14 Oct 2016 10:37:38 -0400 Subject: 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. --- tests/configs/arm_generic.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/configs/arm_generic.py') diff --git a/tests/configs/arm_generic.py b/tests/configs/arm_generic.py index 04823973d..12a876a48 100644 --- a/tests/configs/arm_generic.py +++ b/tests/configs/arm_generic.py @@ -39,12 +39,12 @@ from abc import ABCMeta, abstractmethod import m5 from m5.objects import * from m5.proxy import * -m5.util.addToPath('../configs/common') -import FSConfig -from Caches import * +m5.util.addToPath('../configs/') +from common import FSConfig +from common.Caches import * from base_config import * -from O3_ARM_v7a import * -from Benchmarks import SysConfig +from common.O3_ARM_v7a import * +from common.Benchmarks import SysConfig class ArmSESystemUniprocessor(BaseSESystemUniprocessor): """Syscall-emulation builder for ARM uniprocessor systems. -- cgit v1.2.3