Only compile in Tru64 objects if we're doing Alpha.
authorSteve Reinhardt <stever@eecs.umich.edu>
Wed, 29 Mar 2006 03:44:24 +0000 (22:44 -0500)
committerSteve Reinhardt <stever@eecs.umich.edu>
Wed, 29 Mar 2006 03:44:24 +0000 (22:44 -0500)
--HG--
extra : convert_revision : 15bcdb3a6552ad8ee070677c9464ae1302768068

SConscript

index d891f0d6d026075a43ae6cf28b09e54cf073bd5f..008c794e33eedf43dce27c8c25d78f30f09844cd 100644 (file)
@@ -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