SConscript (2665:a124942bacb8) SConscript (2972:f84c6c5309ce)
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

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

40#
41# Define needed sources.
42#
43###################################################
44
45# Base sources used by all configurations.
46base_sources = Split('''
47 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

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

40#
41# Define needed sources.
42#
43###################################################
44
45# Base sources used by all configurations.
46base_sources = Split('''
47 faults.cc
48 isa_traits.cc
48 floatregfile.cc
49 intregfile.cc
50 miscregfile.cc
51 regfile.cc
49 ''')
50
51# Full-system sources
52full_system_sources = Split('''
52 ''')
53
54# Full-system sources
55full_system_sources = Split('''
53 vtophys.cc
54 ua2005.cc
56 ua2005.cc
57 vtophys.cc
55 ''')
56
57# Syscall emulation (non-full-system) sources
58syscall_emulation_sources = Split('''
59 linux/linux.cc
60 linux/process.cc
58 ''')
59
60# Syscall emulation (non-full-system) sources
61syscall_emulation_sources = Split('''
62 linux/linux.cc
63 linux/process.cc
61 solaris/solaris.cc
62 solaris/process.cc
63 process.cc
64 process.cc
65 solaris/process.cc
66 solaris/solaris.cc
64 ''')
65
66sources = base_sources
67
68if env['FULL_SYSTEM']:
69 sources += full_system_sources
70else:
71 sources += syscall_emulation_sources

--- 12 unchanged lines hidden ---
67 ''')
68
69sources = base_sources
70
71if env['FULL_SYSTEM']:
72 sources += full_system_sources
73else:
74 sources += syscall_emulation_sources

--- 12 unchanged lines hidden ---