From 90b087171b048aa226be96dc32d73624f957b793 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Wed, 26 Oct 2016 14:50:54 -0400 Subject: config: Break out base options for usage with NULL ISA This patch breaks out the most basic configuration options into a set of base options, to allow them to be used also by scripts that do not involve any ISA, and thus no actual CPUs or devices. The patch also fixes a few modules so that they can be imported in a NULL build, and avoid dragging in FSConfig every time Options is imported. --- configs/example/ruby_gpu_random_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/example/ruby_gpu_random_test.py') diff --git a/configs/example/ruby_gpu_random_test.py b/configs/example/ruby_gpu_random_test.py index 08eac583a..80aecf90e 100644 --- a/configs/example/ruby_gpu_random_test.py +++ b/configs/example/ruby_gpu_random_test.py @@ -50,7 +50,7 @@ config_root = os.path.dirname(config_path) m5_root = os.path.dirname(config_root) parser = optparse.OptionParser() -Options.addCommonOptions(parser) +Options.addNoISAOptions(parser) parser.add_option("--maxloads", metavar="N", default=100, help="Stop after N loads") -- cgit v1.2.3