summaryrefslogtreecommitdiff
path: root/SConscript
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-03-28 22:44:24 -0500
committerSteve Reinhardt <stever@eecs.umich.edu>2006-03-28 22:44:24 -0500
commitce7f076a835052eeee4db56c40814d6c3aee4bfd (patch)
tree1baf2f055996ad9d8f609be6e2e3c2cb35e44860 /SConscript
parent5f307ebe3540e487a68247904c4d41cea2490397 (diff)
downloadgem5-ce7f076a835052eeee4db56c40814d6c3aee4bfd.tar.xz
Only compile in Tru64 objects if we're doing Alpha.
--HG-- extra : convert_revision : 15bcdb3a6552ad8ee070677c9464ae1302768068
Diffstat (limited to 'SConscript')
-rw-r--r--SConscript16
1 files 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