SConstruct (10607:b3ea7444f466) | SConstruct (10671:d59e40b074c6) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2013 ARM Limited 4# All rights reserved. 5# 6# The license below extends only to copyright in the software and shall 7# not be construed as granting a license to any other intellectual 8# property including but not limited to intellectual property relating --- 207 unchanged lines hidden (view full) --- 216 ] 217 218use_env = {} 219for key,val in sorted(os.environ.iteritems()): 220 if key in use_vars or \ 221 any([key.startswith(prefix) for prefix in use_prefixes]): 222 use_env[key] = val 223 | 1# -*- mode:python -*- 2 3# Copyright (c) 2013 ARM Limited 4# All rights reserved. 5# 6# The license below extends only to copyright in the software and shall 7# not be construed as granting a license to any other intellectual 8# property including but not limited to intellectual property relating --- 207 unchanged lines hidden (view full) --- 216 ] 217 218use_env = {} 219for key,val in sorted(os.environ.iteritems()): 220 if key in use_vars or \ 221 any([key.startswith(prefix) for prefix in use_prefixes]): 222 use_env[key] = val 223 |
224main = Environment(ENV=use_env) | 224# Tell scons to avoid implicit command dependencies to avoid issues 225# with the param wrappes being compiled twice (see 226# http://scons.tigris.org/issues/show_bug.cgi?id=2811) 227main = Environment(ENV=use_env, IMPLICIT_COMMAND_DEPENDENCIES=0) |
225main.Decider('MD5-timestamp') 226main.root = Dir(".") # The current directory (where this file lives). 227main.srcdir = Dir("src") # The source directory 228 229main_dict_keys = main.Dictionary().keys() 230 231# Check that we have a C/C++ compiler 232if not ('CC' in main_dict_keys and 'CXX' in main_dict_keys): --- 1176 unchanged lines hidden --- | 228main.Decider('MD5-timestamp') 229main.root = Dir(".") # The current directory (where this file lives). 230main.srcdir = Dir("src") # The source directory 231 232main_dict_keys = main.Dictionary().keys() 233 234# Check that we have a C/C++ compiler 235if not ('CC' in main_dict_keys and 'CXX' in main_dict_keys): --- 1176 unchanged lines hidden --- |