scons: Put the configuration info in the build directory too.

It fixes cached configuration results from one platform being erroneously
used in other platforms.
This commit is contained in:
José Fonseca 2009-12-25 17:39:47 +00:00
parent 8353c87cce
commit 8b7552673f
1 changed files with 2 additions and 0 deletions

View File

@ -243,6 +243,8 @@ def generate(env):
env['build'] = build_dir
env.SConsignFile(os.path.join(build_dir, '.sconsign'))
env.CacheDir('build/cache')
env['CONFIGUREDIR'] = os.path.join(build_dir, 'conf')
env['CONFIGURELOG'] = os.path.join(os.path.abspath(build_dir), 'config.log')
# Parallel build
if env.GetOption('num_jobs') <= 1: