aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/km/build/wdk7.1/build_drivers.bat
blob: a08a150573f1578d5fefa8a5b14c1677cb782ddb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
@rem Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
@rem This file is part of the "Windows 7 drivers" project.
@rem For details, see https://github.com/egor-tensin/windows7-drivers.
@rem Distributed under the MIT License.

@setlocal enabledelayedexpansion
@echo off

call check_env.bat || exit /b !errorlevel!

for /f "delims=" %%i in ('dir "%proj_src_dir%\sources" /b /s') do (
    set "drv_src_dir=%%~dpi"
    echo.
    call build_driver.bat "!drv_src_dir:~0,-1!" || exit /b !errorlevel!
)