SConscript (4202:f7a05daec670) SConscript (4240:cde9d7751cce)
1# -*- mode:python -*-
2
3# Copyright (c) 2005-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

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

79# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
80# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
81# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
82# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
83#
84# Authors: Gabe Black
85
86Import('*')
1# -*- mode:python -*-
2
3# Copyright (c) 2005-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

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

79# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
80# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
81# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
82# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
83#
84# Authors: Gabe Black
85
86Import('*')
87
88if env['TARGET_ISA'] == 'x86':
89 Source('floatregfile.cc')
90 Source('intregfile.cc')
91 Source('miscregfile.cc')
87if env['TARGET_ISA'] == 'x86':
88 Source('floatregfile.cc')
89 Source('intregfile.cc')
90 Source('miscregfile.cc')
91 Source('predecoder_tables.cc')
92 Source('regfile.cc')
93 Source('remote_gdb.cc')
94
95 if env['FULL_SYSTEM']:
96 # Full-system sources
97 pass
98 else:
99 Source('process.cc')
100
101 Source('linux/linux.cc')
102 Source('linux/process.cc')
103 Source('linux/syscalls.cc')
104
105 # Add in files generated by the ISA description.
106 isa_desc_files = env.ISADesc('isa/main.isa')
107 # Only non-header files need to be compiled.
108 for f in isa_desc_files:
109 if not f.path.endswith('.hh'):
110 Source(f)
92 Source('regfile.cc')
93 Source('remote_gdb.cc')
94
95 if env['FULL_SYSTEM']:
96 # Full-system sources
97 pass
98 else:
99 Source('process.cc')
100
101 Source('linux/linux.cc')
102 Source('linux/process.cc')
103 Source('linux/syscalls.cc')
104
105 # Add in files generated by the ISA description.
106 isa_desc_files = env.ISADesc('isa/main.isa')
107 # Only non-header files need to be compiled.
108 for f in isa_desc_files:
109 if not f.path.endswith('.hh'):
110 Source(f)