SConscript (10301:44839e8febbd) | SConscript (10310:61c7f1d06575) |
---|---|
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 --- 45 unchanged lines hidden (view full) --- 54DebugFlag('RubyStats') 55DebugFlag('RubyResourceStalls') 56 57CompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester', 58 'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache', 59 'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace', 60 'RubyPrefetcher']) 61 | 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 --- 45 unchanged lines hidden (view full) --- 54DebugFlag('RubyStats') 55DebugFlag('RubyResourceStalls') 56 57CompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester', 58 'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache', 59 'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace', 60 'RubyPrefetcher']) 61 |
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 70 using an #include statement, that defines a \"const char *\" pointing 71 to the same text. 72 --- 66 unchanged lines hidden --- | 62if env['PROTOCOL'] == 'None': 63 Return() 64 65def do_embed_text(target, source, env): 66 """convert a text file into a file that can be embedded in C 67 using an #include statement, that defines a \"const char *\" pointing 68 to the same text. 69 --- 66 unchanged lines hidden --- |