SConscript (4826:259b996a6da6) SConscript (4997:e7380529bd2d)
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

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

32Import('*')
33
34if env['TARGET_ISA'] == 'sparc':
35 Source('asi.cc')
36 Source('faults.cc')
37 Source('floatregfile.cc')
38 Source('intregfile.cc')
39 Source('miscregfile.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

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

32Import('*')
33
34if env['TARGET_ISA'] == 'sparc':
35 Source('asi.cc')
36 Source('faults.cc')
37 Source('floatregfile.cc')
38 Source('intregfile.cc')
39 Source('miscregfile.cc')
40 Source('pagetable.cc')
40 Source('regfile.cc')
41 Source('remote_gdb.cc')
41 Source('regfile.cc')
42 Source('remote_gdb.cc')
43 Source('tlb.cc')
42 Source('utility.cc')
43
44 Source('utility.cc')
45
46 SimObject('SparcTLB.py')
47
44 if env['FULL_SYSTEM']:
45 SimObject('SparcSystem.py')
48 if env['FULL_SYSTEM']:
49 SimObject('SparcSystem.py')
46 SimObject('SparcTLB.py')
47
50
48 Source('pagetable.cc')
49 Source('stacktrace.cc')
50 Source('system.cc')
51 Source('stacktrace.cc')
52 Source('system.cc')
51 Source('tlb.cc')
52 Source('ua2005.cc')
53 Source('vtophys.cc')
54 else:
55 Source('process.cc')
56
57 Source('linux/linux.cc')
58 Source('linux/process.cc')
59 Source('linux/syscalls.cc')
60
61 Source('solaris/process.cc')
62 Source('solaris/solaris.cc')
63
64 # Add in files generated by the ISA description.
65 isa_desc_files = env.ISADesc('isa/main.isa')
66 # Only non-header files need to be compiled.
67 for f in isa_desc_files:
68 if not f.path.endswith('.hh'):
69 Source(f)
53 Source('ua2005.cc')
54 Source('vtophys.cc')
55 else:
56 Source('process.cc')
57
58 Source('linux/linux.cc')
59 Source('linux/process.cc')
60 Source('linux/syscalls.cc')
61
62 Source('solaris/process.cc')
63 Source('solaris/solaris.cc')
64
65 # Add in files generated by the ISA description.
66 isa_desc_files = env.ISADesc('isa/main.isa')
67 # Only non-header files need to be compiled.
68 for f in isa_desc_files:
69 if not f.path.endswith('.hh'):
70 Source(f)