SConscript (8235:6381dc8bcfcc) | SConscript (8242:f52ece27e20d) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2004-2005 The Regents of The University of Michigan 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 306 unchanged lines hidden (view full) --- 315 316 if 'SConscript' in files: 317 build_dir = joinpath(env['BUILDDIR'], root[len(base_dir) + 1:]) 318 SConscript(joinpath(root, 'SConscript'), variant_dir=build_dir) 319 320for extra_dir in extras_dir_list: 321 prefix_len = len(dirname(extra_dir)) + 1 322 for root, dirs, files in os.walk(extra_dir, topdown=True): | 1# -*- mode:python -*- 2 3# Copyright (c) 2004-2005 The Regents of The University of Michigan 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 306 unchanged lines hidden (view full) --- 315 316 if 'SConscript' in files: 317 build_dir = joinpath(env['BUILDDIR'], root[len(base_dir) + 1:]) 318 SConscript(joinpath(root, 'SConscript'), variant_dir=build_dir) 319 320for extra_dir in extras_dir_list: 321 prefix_len = len(dirname(extra_dir)) + 1 322 for root, dirs, files in os.walk(extra_dir, topdown=True): |
323 # if build lives in the extras directory, don't walk down it 324 if 'build' in dirs: 325 dirs.remove('build') 326 |
|
323 if 'SConscript' in files: 324 build_dir = joinpath(env['BUILDDIR'], root[prefix_len:]) 325 SConscript(joinpath(root, 'SConscript'), variant_dir=build_dir) 326 327for opt in export_vars: 328 env.ConfigFile(opt) 329 330def makeTheISA(source, target, env): --- 660 unchanged lines hidden --- | 327 if 'SConscript' in files: 328 build_dir = joinpath(env['BUILDDIR'], root[prefix_len:]) 329 SConscript(joinpath(root, 'SConscript'), variant_dir=build_dir) 330 331for opt in export_vars: 332 env.ConfigFile(opt) 333 334def makeTheISA(source, target, env): --- 660 unchanged lines hidden --- |