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
This commit is contained in:
Steve Reinhardt
2006-02-22 22:22:06 -05:00
parent 9a4c0f12ef
commit f67a99d1c9
4 changed files with 80 additions and 15 deletions

View File

@@ -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