From ce7f076a835052eeee4db56c40814d6c3aee4bfd Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Tue, 28 Mar 2006 22:44:24 -0500 Subject: [PATCH] Only compile in Tru64 objects if we're doing Alpha. --HG-- extra : convert_revision : 15bcdb3a6552ad8ee070677c9464ae1302768068 --- SConscript | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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 -- 2.30.2