Deleted Added
sdiff udiff text old ( 11992:358cdf876d3d ) new ( 11999:252c50d5b736 )
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

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

1352 switch_hdr_action = MakeAction(gen_switch_hdr,
1353 Transform("GENERATE"), varlist=['ALL_ISA_LIST'])
1354
1355 # Instantiate actions for each header
1356 for hdr in switch_headers:
1357 env.Command(hdr, [], switch_hdr_action)
1358
1359 isa_target = Dir('.').up().name.lower().replace('_', '-')
1360 env['PHONY_BASE'] = '#'+isa_target
1361 all_isa_deps[isa_target] = None
1362
1363Export('make_switching_dir')
1364
1365def make_gpu_switching_dir(dname, switch_headers, env):
1366 # Generate the header. target[0] is the full path of the output
1367 # header to generate. 'source' is a dummy variable, since we get the
1368 # list of ISAs from env['ALL_ISA_LIST'].

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

1416BUILD_TARGETS[:] = ['#all-targets']
1417
1418###################################################
1419#
1420# Define build environments for selected configurations.
1421#
1422###################################################
1423
1424for variant_path in variant_paths:
1425 if not GetOption('silent'):
1426 print "Building in", variant_path
1427
1428 # Make a copy of the build-root environment to use for this config.
1429 env = main.Clone()
1430 env['BUILDDIR'] = variant_path
1431

--- 125 unchanged lines hidden ---