summaryrefslogtreecommitdiff
path: root/SConscript
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 /SConscript
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 'SConscript')
-rw-r--r--SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/SConscript b/SConscript
index d2f6b0497..49f06af7d 100644
--- a/SConscript
+++ b/SConscript
@@ -346,6 +346,8 @@ arch_source = SConscript('arch/%s/SConscript' % env['TARGET_ISA'],
# Add a flag defining what THE_ISA should be for all compilation
env.Append(CPPDEFINES=[('THE_ISA','%s_ISA' % env['TARGET_ISA'].upper())])
+SConscript('arch/SConscript', exports = 'env', duplicate = False)
+
# Set up complete list of sources based on configuration.
sources = base_sources + arch_source