SConscript (4103:785279436bdd) SConscript (4202:f7a05daec670)
1# -*- mode:python -*-
2
3# Copyright (c) 2006 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28#
29# Authors: Steve Reinhardt
30# Gabe Black
31
1# -*- mode:python -*-
2
3# Copyright (c) 2006 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28#
29# Authors: Steve Reinhardt
30# Gabe Black
31
32import os.path, sys
32Import('*')
33
33
34# Import build environment variable from SConstruct.
35Import('env')
36
37sources = []
38
39sources += Split('''
40 dtod.cc
41 iob.cc
42 t1000.cc
43 mm_disk.cc
44 ''')
45
46# Convert file names to SCons File objects. This takes care of the
47# path relative to the top of the directory tree.
48sources = [File(s) for s in sources]
49
50Return('sources')
34if env['FULL_SYSTEM'] and env['TARGET_ISA'] == 'sparc':
35 Source('dtod.cc')
36 Source('iob.cc')
37 Source('t1000.cc')
38 Source('mm_disk.cc')