Cleaned up the mapping of isa_parser.py inputs to outputs.
authorGabe Black <gblack@eecs.umich.edu>
Thu, 23 Feb 2006 01:52:03 +0000 (20:52 -0500)
committerGabe Black <gblack@eecs.umich.edu>
Thu, 23 Feb 2006 01:52:03 +0000 (20:52 -0500)
--HG--
extra : convert_revision : a8431a67001b2916eb8d0548f1f34e1c948bb356

SConscript

index b8db3ff7122586b88e1cff02498e0589c611aa30..ee0dd03e0ccb1a0fcbc881d88f537a20a8b580e4 100644 (file)
@@ -426,18 +426,13 @@ env.Command(Split('base/traceflags.hh base/traceflags.cc'),
 
 # several files are generated from arch/$TARGET_ISA/isa_desc.
 env.Command(Split('''
-       arch/%s/decoder.cc
-       arch/%s/decoder.hh
-        arch/%s/alpha_o3_exec.cc
-       arch/%s/fast_cpu_exec.cc
-        arch/%s/simple_cpu_exec.cc
-        arch/%s/full_cpu_exec.cc''' %
-       (env['TARGET_ISA'],
-       env['TARGET_ISA'],
-       env['TARGET_ISA'],
-       env['TARGET_ISA'],
-       env['TARGET_ISA'],
-       env['TARGET_ISA'])),
+       arch/%(targetisa)s/decoder.cc
+       arch/%(targetisa)s/decoder.hh
+        arch/%(targetisa)s/alpha_o3_exec.cc
+       arch/%(targetisa)s/fast_cpu_exec.cc
+        arch/%(targetisa)s/simple_cpu_exec.cc
+        arch/%(targetisa)s/full_cpu_exec.cc''' %
+       {'targetisa': env['TARGET_ISA']}),
        Split('''
        arch/%s/isa/main.isa
        arch/isa_parser.py''' %