SConscript (10086:bd1089db3a88) SConscript (10133:0749c3ec92f4)
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

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

32import sys
33
34from os.path import basename, isdir, join as joinpath
35
36import SCons
37
38Import('*')
39
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

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

32import sys
33
34from os.path import basename, isdir, join as joinpath
35
36import SCons
37
38Import('*')
39
40DebugFlag('ProtocolTrace')
41DebugFlag('RubyCache')
42DebugFlag('RubyCacheTrace')
43DebugFlag('RubyDma')
44DebugFlag('RubyGenerated')
45DebugFlag('RubyMemory')
46DebugFlag('RubyNetwork')
47DebugFlag('RubyPort')
48DebugFlag('RubyPrefetcher')
49DebugFlag('RubyQueue')
50DebugFlag('RubySequencer')
51DebugFlag('RubySlicc')
52DebugFlag('RubySystem')
53DebugFlag('RubyTester')
54DebugFlag('RubyStats')
55DebugFlag('RubyResourceStalls')
56
57CompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester',
58 'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache',
59 'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace',
60 'RubyPrefetcher'])
61
40if env['TARGET_ISA'] == 'null':
41 Return()
42
43if env['PROTOCOL'] == 'None':
44 Return()
45
46def do_embed_text(target, source, env):
47 """convert a text file into a file that can be embedded in C

--- 69 unchanged lines hidden ---
62if env['TARGET_ISA'] == 'null':
63 Return()
64
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

--- 69 unchanged lines hidden ---