Deleted Added
sdiff udiff text old ( 12178:62b9e0a3b056 ) new ( 12222:6db0fc7407a5 )
full compact
1# -*- mode:python -*-
2
3# Copyright (c) 2013, 2015, 2016 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

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

1402main.Append(BUILDERS = { 'SwitchingHeader': switching_header_builder })
1403
1404def switching_headers(self, headers, source):
1405 for header in headers:
1406 self.SwitchingHeader(header, source)
1407
1408main.AddMethod(switching_headers, 'SwitchingHeaders')
1409
1410###################################################
1411#
1412# Define build environments for selected configurations.
1413#
1414###################################################
1415
1416for variant_path in variant_paths:
1417 if not GetOption('silent'):
1418 print "Building in", variant_path
1419
1420 # Make a copy of the build-root environment to use for this config.
1421 env = main.Clone()
1422 env['BUILDDIR'] = variant_path
1423

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

1519 if env['USE_SSE2']:
1520 env.Append(CCFLAGS=['-msse2'])
1521
1522 # The src/SConscript file sets up the build rules in 'env' according
1523 # to the configured variables. It returns a list of environments,
1524 # one for each variant build (debug, opt, etc.)
1525 SConscript('src/SConscript', variant_dir = variant_path, exports = 'env')
1526
1527# base help text
1528Help('''
1529Usage: scons [scons options] [build variables] [target(s)]
1530
1531Extra scons options:
1532%(options)s
1533
1534Global build variables:
1535%(global_vars)s
1536
1537%(local_vars)s
1538''' % help_texts)