From: Steve Reinhardt Date: Wed, 29 Mar 2006 03:44:24 +0000 (-0500) Subject: Only compile in Tru64 objects if we're doing Alpha. X-Git-Tag: m5_2.0_beta1~137^2~11 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce7f076a835052eeee4db56c40814d6c3aee4bfd;p=gem5.git Only compile in Tru64 objects if we're doing Alpha. --HG-- extra : convert_revision : 15bcdb3a6552ad8ee070677c9464ae1302768068 --- diff --git a/SConscript b/SConscript index d891f0d6d..008c794e3 100644 --- a/SConscript +++ b/SConscript @@ -219,13 +219,17 @@ full_system_sources = Split(''' kern/linux/events.cc kern/linux/linux_syscalls.cc kern/linux/printk.cc + + mem/functional/memory_control.cc + sim/pseudo_inst.cc + ''') + +if env['TARGET_ISA'] == 'alpha': + full_system_sources += Split(''' kern/tru64/dump_mbuf.cc kern/tru64/printf.cc kern/tru64/tru64_events.cc kern/tru64/tru64_syscalls.cc - - mem/functional/memory_control.cc - sim/pseudo_inst.cc ''') # turbolaser encumbered sources @@ -251,11 +255,15 @@ turbolaser_sources = Split(''' # Syscall emulation (non-full-system) sources syscall_emulation_sources = Split(''' kern/linux/linux.cc - kern/tru64/tru64.cc sim/process.cc sim/syscall_emul.cc ''') +if env['TARGET_ISA'] == 'alpha': + syscall_emulation_sources += Split(''' + kern/tru64/tru64.cc + ''') + alpha_eio_sources = Split(''' encumbered/eio/exolex.cc encumbered/eio/libexo.cc