summaryrefslogtreecommitdiff
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-12-25 17:39:47 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-12-26 01:14:08 +0000
commit8b7552673f38b47abb432985e205785accdae5df (patch)
treed2a84ef95723d0df7a69d2c46a63408f6fa0978d /scons/gallium.py
parent8353c87ccef69fdfaf778e177c1a6651214db135 (diff)
scons: Put the configuration info in the build directory too.
It fixes cached configuration results from one platform being erroneously used in other platforms.
Diffstat (limited to 'scons/gallium.py')
-rw-r--r--scons/gallium.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index b7a14af4b1b..1f9cd3d9203 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -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: