summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-02-22 22:22:06 -0500
committerSteve Reinhardt <stever@eecs.umich.edu>2006-02-22 22:22:06 -0500
commitf67a99d1c96fab60e16a8739803de27a3fba6420 (patch)
tree7b35ca89e8fae82897c609d1b88eefe6e8d140c9 /build
parent9a4c0f12ef63a701f9ce0918e604bcdcc679fe32 (diff)
downloadgem5-f67a99d1c96fab60e16a8739803de27a3fba6420.tar.xz
Auto-generate arch/foo.hh "switch headers" in scons.
SConscript: Include new arch/SConscript file. arch/isa_specific.hh: Get rid of unnecessary ISA_INCLUDE() macro and other things that were used only for that purpose. build/SConstruct: Move list of ISAs to env var ALL_ISA_LIST. --HG-- extra : convert_revision : 612c7ee4279d57209662be88dc577d80fdbd692c
Diffstat (limited to 'build')
-rw-r--r--build/SConstruct5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/SConstruct b/build/SConstruct
index c552e5639..38d404846 100644
--- a/build/SConstruct
+++ b/build/SConstruct
@@ -218,12 +218,15 @@ if have_mysql:
env = conf.Finish()
+# Define the universe of supported ISAs
+env['ALL_ISA_LIST'] = ['alpha', 'sparc', 'mips']
+
# Sticky options get saved in the options file so they persist from
# one invocation to the next (unless overridden, in which case the new
# value becomes sticky).
sticky_opts = Options(args=ARGUMENTS)
sticky_opts.AddOptions(
- EnumOption('TARGET_ISA', 'Target ISA', 'alpha', ('alpha', 'sparc', 'mips')),
+ EnumOption('TARGET_ISA', 'Target ISA', 'alpha', env['ALL_ISA_LIST']),
BoolOption('FULL_SYSTEM', 'Full-system support', False),
BoolOption('ALPHA_TLASER',
'Model Alpha TurboLaser platform (vs. Tsunami)', False),