Deleted Added
sdiff udiff text old ( 14037:a1e12c851596 ) new ( 14044:f0737a28cd4a )
full compact
1# -*- mode:python -*-
2
3# Copyright (c) 2013, 2015-2017 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
9# to a hardware implementation of the functionality of the software
10# licensed hereunder. You may use the software subject to the license
11# terms below provided that you ensure that this notice is replicated

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

285
286global_vars_file = joinpath(build_root, 'variables.global')
287
288global_vars = Variables(global_vars_file, args=ARGUMENTS)
289
290global_vars.AddVariables(
291 ('CC', 'C compiler', environ.get('CC', main['CC'])),
292 ('CXX', 'C++ compiler', environ.get('CXX', main['CXX'])),
293 ('PYTHON_CONFIG', 'Python config binary to use',
294 [ 'python2.7-config', 'python-config' ]),
295 ('PROTOC', 'protoc tool', environ.get('PROTOC', 'protoc')),
296 ('BATCH', 'Use batch pool for build and tests', False),
297 ('BATCH_CMD', 'Batch pool submission command name', 'qdo'),
298 ('M5_BUILD_CACHE', 'Cache built objects in this directory', False),
299 ('EXTRAS', 'Add extra directories to the compilation', '')
300 )

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

1280 "be inaccurate.")
1281
1282 # Save sticky variable settings back to current variables file
1283 sticky_vars.Save(current_vars_file, env)
1284
1285 if env['USE_SSE2']:
1286 env.Append(CCFLAGS=['-msse2'])
1287
1288 # The src/SConscript file sets up the build rules in 'env' according
1289 # to the configured variables. It returns a list of environments,
1290 # one for each variant build (debug, opt, etc.)
1291 SConscript('src/SConscript', variant_dir = variant_path, exports = 'env')
1292
1293# base help text
1294Help('''
1295Usage: scons [scons options] [build variables] [target(s)]
1296
1297Extra scons options:
1298%(options)s
1299
1300Global build variables:
1301%(global_vars)s
1302
1303%(local_vars)s
1304''' % help_texts)