SConscript (5403:92d376c98a41) SConscript (5406:fc680749b40e)
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

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

35 Source('system_events.cc')
36
37 TraceFlag('DebugPrintf')
38 TraceFlag('Printf')
39
40 Source('linux/events.cc')
41 Source('linux/linux_syscalls.cc')
42 Source('linux/printk.cc')
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

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

35 Source('system_events.cc')
36
37 TraceFlag('DebugPrintf')
38 TraceFlag('Printf')
39
40 Source('linux/events.cc')
41 Source('linux/linux_syscalls.cc')
42 Source('linux/printk.cc')
43
44 # Workaround for bug in SCons version > 0.97d20071212
45 # Scons bug id: 2006 M5 Bug id: 308
46 Dir('tru64')
43
44 if env['TARGET_ISA'] == 'alpha':
45 Source('tru64/dump_mbuf.cc')
46 Source('tru64/printf.cc')
47 Source('tru64/tru64_events.cc')
48 Source('tru64/tru64_syscalls.cc')
49 TraceFlag('BADADDR')
50
51# Workaround for bug in SCons version > 0.97d20071212
52# Scons bug id: 2006 M5 Bug id: 308
53else:
54 Dir('linux')
55 if env['TARGET_ISA'] == 'alpha':
56 Dir('tru64')
57 elif env['TARGET_ISA'] == 'sparc':
58 Dir('solaris')
47
48 if env['TARGET_ISA'] == 'alpha':
49 Source('tru64/dump_mbuf.cc')
50 Source('tru64/printf.cc')
51 Source('tru64/tru64_events.cc')
52 Source('tru64/tru64_syscalls.cc')
53 TraceFlag('BADADDR')
54
55# Workaround for bug in SCons version > 0.97d20071212
56# Scons bug id: 2006 M5 Bug id: 308
57else:
58 Dir('linux')
59 if env['TARGET_ISA'] == 'alpha':
60 Dir('tru64')
61 elif env['TARGET_ISA'] == 'sparc':
62 Dir('solaris')