diff options
author | Nathan Binkert <binkertn@umich.edu> | 2005-06-05 01:24:17 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2005-06-05 01:24:17 -0400 |
commit | 3e5e3e2d28a6a59df1300751f75f1de5b06bc3fe (patch) | |
tree | 7ad3b39022ecae18c2b13654f94dcd11a81d0816 /SConscript | |
parent | 8f1348a21d8d4509716525048d3bd8922072592a (diff) | |
download | gem5-3e5e3e2d28a6a59df1300751f75f1de5b06bc3fe.tar.xz |
make all of the turbolaser stuff only compile if ALPHA_TLASER
is defined.
build/SConstruct:
Default ALPHA_TLASER to false
dev/uart8250.cc:
fix paths
--HG--
extra : convert_revision : 3616b5b4b9060860a73568a4ed4f1e8eb991938f
Diffstat (limited to 'SConscript')
-rw-r--r-- | SConscript | 39 |
1 files changed, 22 insertions, 17 deletions
diff --git a/SConscript b/SConscript index bb50f1872..f8ffaa7a8 100644 --- a/SConscript +++ b/SConscript @@ -280,25 +280,8 @@ full_system_sources = Split(''' dev/tsunami_io.cc dev/tsunami_pchip.cc dev/uart.cc - dev/uart8530.cc dev/uart8250.cc - encumbered/dev/dma.cc - encumbered/dev/etherdev.cc - encumbered/dev/scsi.cc - encumbered/dev/scsi_ctrl.cc - encumbered/dev/scsi_disk.cc - encumbered/dev/scsi_none.cc - encumbered/dev/tlaser_clock.cc - encumbered/dev/tlaser_ipi.cc - encumbered/dev/tlaser_mbox.cc - encumbered/dev/tlaser_mc146818.cc - encumbered/dev/tlaser_node.cc - encumbered/dev/tlaser_pcia.cc - encumbered/dev/tlaser_pcidev.cc - encumbered/dev/tlaser_serial.cc - encumbered/dev/turbolaser.cc - kern/kernel_binning.cc kern/kernel_stats.cc kern/system_events.cc @@ -318,6 +301,26 @@ full_system_sources = Split(''' sim/system.cc ''') +# turbolaser encumbered sources +turbolaser_sources = Split(''' + encumbered/dev/dma.cc + encumbered/dev/etherdev.cc + encumbered/dev/scsi.cc + encumbered/dev/scsi_ctrl.cc + encumbered/dev/scsi_disk.cc + encumbered/dev/scsi_none.cc + encumbered/dev/tlaser_clock.cc + encumbered/dev/tlaser_ipi.cc + encumbered/dev/tlaser_mbox.cc + encumbered/dev/tlaser_mc146818.cc + encumbered/dev/tlaser_node.cc + encumbered/dev/tlaser_pcia.cc + encumbered/dev/tlaser_pcidev.cc + encumbered/dev/tlaser_serial.cc + encumbered/dev/turbolaser.cc + encumbered/dev/uart8530.cc + ''') + # Syscall emulation (non-full-system) sources syscall_emulation_sources = Split(''' arch/alpha/alpha_common_syscall_emul.cc @@ -364,6 +367,8 @@ sources = base_sources if env['FULL_SYSTEM']: sources += full_system_sources + if env['ALPHA_TLASER']: + sources += turbolaser_sources else: sources += syscall_emulation_sources |