Module: Mesa Branch: gallium-0.1 Commit: d66719ecf37c37829daf0866fe7399673227e9bf URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d66719ecf37c37829daf0866fe7399673227e9bf
Author: José Fonseca <[email protected]> Date: Tue Sep 1 10:10:28 2009 +0100 scons: Require DDK 3790.1830 for now. --- scons/winddk.py | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scons/winddk.py b/scons/winddk.py index afcea99..decfb0f 100644 --- a/scons/winddk.py +++ b/scons/winddk.py @@ -45,7 +45,7 @@ import mslib_sa import mslink_sa versions = [ - '6001.18002', + #'6001.18002', '3790.1830', ] @@ -56,7 +56,11 @@ def cpu_bin(target_cpu): return target_cpu def get_winddk_root(env, version): - default_path = os.path.join(r'C:\WINDDK', version) + try: + root = os.environ['WINDDK_DIR'] + except KeyError: + root = r'C:\WINDDK' + default_path = os.path.join(root, version) if os.path.exists(default_path): return default_path return None _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
