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_mem_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/example/ruby_mem_test.py') diff --git a/configs/example/ruby_mem_test.py b/configs/example/ruby_mem_test.py index 3b6c5f110..010c4a2bc 100644 --- a/configs/example/ruby_mem_test.py +++ b/configs/example/ruby_mem_test.py @@ -44,7 +44,7 @@ config_path = os.path.dirname(os.path.abspath(__file__)) config_root = os.path.dirname(config_path) parser = optparse.OptionParser() -Options.addCommonOptions(parser) +Options.addNoISAOptions(parser) parser.add_option("--maxloads", metavar="N", default=0, help="Stop after N loads") -- cgit v1.2.3