SConstruct (11944:00c719186596) SConstruct (11978:4791dea211c8)
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

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

1334
1335 # Sources are variable name & value (packaged in SCons Value nodes)
1336 return ([target], [Value(variable), Value(val)])
1337
1338config_builder = Builder(emitter = config_emitter, action = config_action)
1339
1340main.Append(BUILDERS = { 'ConfigFile' : config_builder })
1341
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

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

1334
1335 # Sources are variable name & value (packaged in SCons Value nodes)
1336 return ([target], [Value(variable), Value(val)])
1337
1338config_builder = Builder(emitter = config_emitter, action = config_action)
1339
1340main.Append(BUILDERS = { 'ConfigFile' : config_builder })
1341
1342# libelf build is shared across all configs in the build root.
1343main.SConscript('ext/libelf/SConscript',
1344 variant_dir = joinpath(build_root, 'libelf'))
1342# builds in ext are shared across all configs in the build root.
1343ext_dir = abspath(joinpath(str(main.root), 'ext'))
1344for root, dirs, files in os.walk(ext_dir):
1345 if 'SConscript' in files:
1346 build_dir = os.path.relpath(root, ext_dir)
1347 main.SConscript(joinpath(root, 'SConscript'),
1348 variant_dir=joinpath(build_root, build_dir))
1345
1349
1346# iostream3 build is shared across all configs in the build root.
1347main.SConscript('ext/iostream3/SConscript',
1348 variant_dir = joinpath(build_root, 'iostream3'))
1349
1350# libfdt build is shared across all configs in the build root.
1351main.SConscript('ext/libfdt/SConscript',
1352 variant_dir = joinpath(build_root, 'libfdt'))
1353
1354# fputils build is shared across all configs in the build root.
1355main.SConscript('ext/fputils/SConscript',
1356 variant_dir = joinpath(build_root, 'fputils'))
1357
1358# DRAMSim2 build is shared across all configs in the build root.
1359main.SConscript('ext/dramsim2/SConscript',
1360 variant_dir = joinpath(build_root, 'dramsim2'))
1361
1362# DRAMPower build is shared across all configs in the build root.
1363main.SConscript('ext/drampower/SConscript',
1364 variant_dir = joinpath(build_root, 'drampower'))
1365
1366# nomali build is shared across all configs in the build root.
1367main.SConscript('ext/nomali/SConscript',
1368 variant_dir = joinpath(build_root, 'nomali'))
1369
1370###################################################
1371#
1372# This function is used to set up a directory with switching headers
1373#
1374###################################################
1375
1376main['ALL_ISA_LIST'] = all_isa_list
1377main['ALL_GPU_ISA_LIST'] = all_gpu_isa_list

--- 224 unchanged lines hidden ---
1350###################################################
1351#
1352# This function is used to set up a directory with switching headers
1353#
1354###################################################
1355
1356main['ALL_ISA_LIST'] = all_isa_list
1357main['ALL_GPU_ISA_LIST'] = all_gpu_isa_list

--- 224 unchanged lines hidden ---