summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/SConscript b/src/arch/SConscript
index 3eee7b93e..4f731880f 100644
--- a/src/arch/SConscript
+++ b/src/arch/SConscript
@@ -121,6 +121,7 @@ def isa_desc_action_func(target, source, env):
sys.path[0:0] = [ ARCH_DIR.srcnode().abspath ]
import isa_parser
+ # Skip over the ISA description itself and the parser to the CPU models.
models = [ s.get_contents() for s in source[2:] ]
cpu_models = [CpuModel.dict[cpu] for cpu in models]
parser = isa_parser.ISAParser(target[0].dir.abspath, cpu_models)