aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/km/build/wdk7.1/check_env.bat
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--km/build/wdk7.1/check_env.bat10
1 files changed, 6 insertions, 4 deletions
diff --git a/km/build/wdk7.1/check_env.bat b/km/build/wdk7.1/check_env.bat
index 5a73d5f..6d2039e 100644
--- a/km/build/wdk7.1/check_env.bat
+++ b/km/build/wdk7.1/check_env.bat
@@ -9,9 +9,11 @@
call check_ddk.bat || exit /b !errorlevel!
if not defined proj_build_dir goto :env_not_set
-if not defined proj_bin_dir goto :env_not_set
-if not defined proj_lib_dir goto :env_not_set
-if not defined proj_src_dir goto :env_not_set
+if not defined proj_bin_dir goto :env_not_set
+if not defined proj_lib_dir goto :env_not_set
+if not defined proj_src_dir goto :env_not_set
+if not defined target_config goto :env_not_set
+if not defined target_arch goto :env_not_set
if not exist "%proj_build_dir%\sign.bat" (
echo Error: %proj_build_dir%\sign.bat was not found ^(don^'t know how to sign drivers otherwise^) >&2
@@ -21,5 +23,5 @@ if not exist "%proj_build_dir%\sign.bat" (
exit /b 0
:env_not_set
-echo Error: either %%proj_build_dir%%, %%proj_bin_dir%%, %%proj_lib_dir%% or %%proj_src_dir%% are not set ^(have set up the build environment using setenv.bat?^) >&2
+echo Error: either %%proj_build_dir%%, %%proj_bin_dir%%, %%proj_lib_dir%%, %%proj_src_dir%%, %%target_arch%% or %%target_config%% are not set ^(have set up the build environment using setenv.bat?^) >&2
exit /b 1