SConscript (8483:b5052cad1fd3) | SConscript (8492:1ad244a20877) |
---|---|
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 --- 26 unchanged lines hidden (view full) --- 35 36import SCons 37 38Import('*') 39 40if env['TARGET_ISA'] == 'no': 41 Return() 42 | 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 --- 26 unchanged lines hidden (view full) --- 35 36import SCons 37 38Import('*') 39 40if env['TARGET_ISA'] == 'no': 41 Return() 42 |
43if not env['RUBY']: | 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 48 using an #include statement, that defines a \"const char *\" pointing 49 to the same text. 50 51 This is useful to embed scripts and configuration files in object files. --- 66 unchanged lines hidden --- | 44 Return() 45 46def do_embed_text(target, source, env): 47 """convert a text file into a file that can be embedded in C 48 using an #include statement, that defines a \"const char *\" pointing 49 to the same text. 50 51 This is useful to embed scripts and configuration files in object files. --- 66 unchanged lines hidden --- |