summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-02-22 20:52:03 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-02-22 20:52:03 -0500
commitb37f5da98f59700f2646ec25b9496d9ab7a7b417 (patch)
treed6159ee3913676367b5f4d0f8be9826ed1260ec2
parent8d80fd1477fa39ebc5bad4ca5c727b2871fd9b8d (diff)
downloadgem5-b37f5da98f59700f2646ec25b9496d9ab7a7b417.tar.xz
Cleaned up the mapping of isa_parser.py inputs to outputs.
--HG-- extra : convert_revision : a8431a67001b2916eb8d0548f1f34e1c948bb356
-rw-r--r--SConscript19
1 files changed, 7 insertions, 12 deletions
diff --git a/SConscript b/SConscript
index b8db3ff71..ee0dd03e0 100644
--- a/SConscript
+++ b/SConscript
@@ -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''' %