diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-09-01 10:10:28 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-09-01 10:10:28 +0100 |
commit | d66719ecf37c37829daf0866fe7399673227e9bf (patch) | |
tree | ee8c2afa32490043b4f0f3c1319ae879ef7b7c22 | |
parent | bb671681ecd2d6e553ce02d8c9be118d8585c3d3 (diff) |
scons: Require DDK 3790.1830 for now.
-rw-r--r-- | scons/winddk.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scons/winddk.py b/scons/winddk.py index afcea9909a..decfb0f6d7 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 |