diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-04-28 05:03:57 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-04-28 05:03:57 +0300 |
commit | bc3fcd57386d0202f9551c21a23b141d6dee1dea (patch) | |
tree | 5be98dabfefcce6e65ca10fdadbbdc8a5aba59a4 /km/build/wdk7.1/check_ddk.bat | |
parent | build/wdk7.1: refactoring (diff) | |
download | windows7-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.bat | 7 |
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 |