From b0489d18ed74b542e311a2a7238cd5e19bd4b2ab Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Tue, 21 Apr 2009 08:17:36 -0700 Subject: SCons: Export export_vars so SConsopts files can add to them --- src/SConscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/SConscript b/src/SConscript index c02bf239d..20d454f03 100644 --- a/src/SConscript +++ b/src/SConscript @@ -48,7 +48,7 @@ Import('*') # Children need to see the environment Export('env') -build_env = dict([(opt, env[opt]) for opt in env.ExportVariables]) +build_env = dict([(opt, env[opt]) for opt in export_vars]) def sort_list(_list): """return a sorted copy of '_list'""" @@ -242,7 +242,7 @@ for extra_dir in extras_dir_list: build_dir = joinpath(env['BUILDDIR'], root[prefix_len:]) SConscript(joinpath(root, 'SConscript'), build_dir=build_dir) -for opt in env.ExportVariables: +for opt in export_vars: env.ConfigFile(opt) ######################################################################## -- cgit v1.2.3