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/memtest-ruby.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/configs/memtest-ruby.py') diff --git a/tests/configs/memtest-ruby.py b/tests/configs/memtest-ruby.py index 1fac02a14..8b92af45c 100644 --- a/tests/configs/memtest-ruby.py +++ b/tests/configs/memtest-ruby.py @@ -33,11 +33,10 @@ from m5.defines import buildEnv from m5.util import addToPath import os, optparse, sys -m5.util.addToPath('../configs/common') m5.util.addToPath('../configs/') from ruby import Ruby -import Options +from common import Options parser = optparse.OptionParser() Options.addCommonOptions(parser) -- cgit v1.2.3