aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/km/build/wdk7.1/check_ddk.bat
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-04-28 05:03:57 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-04-28 05:03:57 +0300
commitbc3fcd57386d0202f9551c21a23b141d6dee1dea (patch)
tree5be98dabfefcce6e65ca10fdadbbdc8a5aba59a4 /km/build/wdk7.1/check_ddk.bat
parentbuild/wdk7.1: refactoring (diff)
downloadwindows7-drivers-bc3fcd57386d0202f9551c21a23b141d6dee1dea.tar.gz
windows7-drivers-bc3fcd57386d0202f9551c21a23b141d6dee1dea.zip
build/wdk7.1: detect debug/release builds
Diffstat (limited to 'km/build/wdk7.1/check_ddk.bat')
-rw-r--r--km/build/wdk7.1/check_ddk.bat7
1 files changed, 4 insertions, 3 deletions
diff --git a/km/build/wdk7.1/check_ddk.bat b/km/build/wdk7.1/check_ddk.bat
index f71e3c4..95142dc 100644
--- a/km/build/wdk7.1/check_ddk.bat
+++ b/km/build/wdk7.1/check_ddk.bat
@@ -7,15 +7,16 @@
@echo off
if not defined BUILD_ALT_DIR goto :ddk_not_set
-if not defined _BUILDARCH goto :ddk_not_set
+if not defined _BUILDARCH goto :ddk_not_set
+if not defined DDKBUILDENV goto :ddk_not_set
-where build.exe >nul 2>&1 || goto :build_not_found
+where build.exe >nul 2>&1 || goto :build_not_found
where signtool.exe >nul 2>&1 || goto :signtool_not_found
where makecert.exe >nul 2>&1 || goto :makecert_not_found
exit /b 0
:ddk_not_set
-echo Error: either %%BUILD_ALT_DIR%% or %%_BUILDARCH%% are not set ^(have you set up the WinDDK environment?^) >&2
+echo Error: either %%BUILD_ALT_DIR%%, %%_BUILDARCH%% or %%DDKBUILDENV%% are not set ^(have you set up the WinDDK environment?^) >&2
exit /b 1
:build_not_found