Changed targetarch to just arch.

SConscript:
    Changed all of the "targetarch" files to be "arch" files
arch/SConscript:
    Added all of the remaining targetarch files to isa_switch_hdrs

--HG--
extra : convert_revision : a37d18349e27cf92dce12814f21944daa7fe9480
This commit is contained in:
Gabe Black
2006-02-27 05:35:43 -05:00
parent f56d42c53d
commit c5dcd152f2
26 changed files with 57 additions and 47 deletions

View File

@@ -305,23 +305,23 @@ syscall_emulation_sources = Split('''
# time. These will have to go away if we want to build a binary that
# supports multiple ISAs.
targetarch_files = Split('''
alpha_linux_process.hh
alpha_memory.hh
alpha_tru64_process.hh
aout_machdep.h
arguments.hh
ecoff_machdep.h
ev5.hh
faults.hh
stacktrace.hh
vtophys.hh
''')
#targetarch_files = Split('''
# alpha_linux_process.hh
# alpha_memory.hh
# alpha_tru64_process.hh
# aout_machdep.h
# arguments.hh
# ecoff_machdep.h
# ev5.hh
# faults.hh
# stacktrace.hh
# vtophys.hh
# ''')
# Set up bridging headers to the architecture specific versions
for f in targetarch_files:
env.Command('targetarch/' + f, 'arch/%s/%s' % (env['TARGET_ISA'], f),
'''echo '#include "arch/%s/%s"' > $TARGET''' % (env['TARGET_ISA'], f))
#for f in targetarch_files:
# env.Command('targetarch/' + f, 'arch/%s/%s' % (env['TARGET_ISA'], f),
# '''echo '#include "arch/%s/%s"' > $TARGET''' % (env['TARGET_ISA'], f))
# Add a flag defining what THE_ISA should be for all compilation
env.Append(CPPDEFINES=[('THE_ISA','%s_ISA' % env['TARGET_ISA'].upper())])