diff options
Diffstat (limited to 'SConscript')
-rw-r--r-- | SConscript | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/SConscript b/SConscript index f58d78798..efcb2baf6 100644 --- a/SConscript +++ b/SConscript @@ -303,29 +303,6 @@ syscall_emulation_sources = Split(''' sim/syscall_emul.cc ''') -# The following stuff (targetarch code and global define of THE_ISA) -# are legacy things that assume we're only compiling one ISA at a -# 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 -# ''') - -# 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)) - # Add a flag defining what THE_ISA should be for all compilation env.Append(CPPDEFINES=[('THE_ISA','%s_ISA' % env['TARGET_ISA'].upper())]) @@ -400,6 +377,7 @@ def make_objs(sources, env): # the corresponding build directory to pick up generated include # files. env.Append(CPPPATH='.') +env.Append(CPPPATH='./libelf') # Debug binary debugEnv = env.Copy(OBJSUFFIX='.do') |