SConscript (12563:8d59ed22ae79) SConscript (12892:796175b0e2dc)
1# -*- mode:python -*-
2
3# Copyright (c) 2009 The Hewlett-Packard Development Company
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

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

36from os.path import basename, isdir, join as joinpath
37
38import SCons
39
40from gem5_scons import Transform
41
42Import('*')
43
1# -*- mode:python -*-
2
3# Copyright (c) 2009 The Hewlett-Packard Development Company
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

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

36from os.path import basename, isdir, join as joinpath
37
38import SCons
39
40from gem5_scons import Transform
41
42Import('*')
43
44if env['PROTOCOL'] == 'None':
45 Return()
46
44DebugFlag('ProtocolTrace')
45DebugFlag('RubyCache')
46DebugFlag('RubyCacheTrace')
47DebugFlag('RubyDma')
48DebugFlag('RubyGenerated')
49DebugFlag('RubyNetwork')
50DebugFlag('RubyPort')
51DebugFlag('RubyPrefetcher')

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

57DebugFlag('RubyStats')
58DebugFlag('RubyResourceStalls')
59
60CompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester',
61 'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache',
62 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace',
63 'RubyPrefetcher'])
64
47DebugFlag('ProtocolTrace')
48DebugFlag('RubyCache')
49DebugFlag('RubyCacheTrace')
50DebugFlag('RubyDma')
51DebugFlag('RubyGenerated')
52DebugFlag('RubyNetwork')
53DebugFlag('RubyPort')
54DebugFlag('RubyPrefetcher')

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

60DebugFlag('RubyStats')
61DebugFlag('RubyResourceStalls')
62
63CompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester',
64 'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache',
65 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace',
66 'RubyPrefetcher'])
67
65if env['PROTOCOL'] == 'None':
66 Return()
67
68def do_embed_text(target, source, env):
69 """convert a text file into a file that can be embedded in C
70 using an #include statement, that defines a \"const char *\" pointing
71 to the same text.
72
73 This is useful to embed scripts and configuration files in object files.
74 """
75

--- 71 unchanged lines hidden ---
68def do_embed_text(target, source, env):
69 """convert a text file into a file that can be embedded in C
70 using an #include statement, that defines a \"const char *\" pointing
71 to the same text.
72
73 This is useful to embed scripts and configuration files in object files.
74 """
75

--- 71 unchanged lines hidden ---