SConscript (4661:44458219add1) SConscript (4835:224d8f96e155)
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2005 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

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

29# Authors: Gabe Black
30# Steve Reinhardt
31# Korey Sewell
32
33Import('*')
34
35if env['TARGET_ISA'] == 'mips':
36 Source('faults.cc')
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2005 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

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

29# Authors: Gabe Black
30# Steve Reinhardt
31# Korey Sewell
32
33Import('*')
34
35if env['TARGET_ISA'] == 'mips':
36 Source('faults.cc')
37 Source('isa_traits.cc')
37 Source('regfile/int_regfile.cc')
38 Source('regfile/misc_regfile.cc')
38 Source('regfile/misc_regfile.cc')
39 Source('regfile/regfile.cc')
39 Source('utility.cc')
40 Source('dsp.cc')
41
42 if env['FULL_SYSTEM']:
43 #Insert Full-System Files Here
44 pass
45 else:
46 Source('process.cc')
47
48 Source('linux/linux.cc')
49 Source('linux/process.cc')
50
51 # Add in files generated by the ISA description.
52 isa_desc_files = env.ISADesc('isa/main.isa')
53 # Only non-header files need to be compiled.
54 for f in isa_desc_files:
55 if not f.path.endswith('.hh'):
56 Source(f)
40 Source('utility.cc')
41 Source('dsp.cc')
42
43 if env['FULL_SYSTEM']:
44 #Insert Full-System Files Here
45 pass
46 else:
47 Source('process.cc')
48
49 Source('linux/linux.cc')
50 Source('linux/process.cc')
51
52 # Add in files generated by the ISA description.
53 isa_desc_files = env.ISADesc('isa/main.isa')
54 # Only non-header files need to be compiled.
55 for f in isa_desc_files:
56 if not f.path.endswith('.hh'):
57 Source(f)