diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-14 20:36:37 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-14 20:36:37 +0200 |
| commit | d4e9e941da4dbd2f338fd9a1e3d13df56dc3a02f (patch) | |
| tree | 46d67f43cdd6d59615a6e30f86be411ebb38074e /scripts | |
| parent | km/build: dedupe .git{ignore,attributes} files (diff) | |
| download | windows7-drivers-d4e9e941da4dbd2f338fd9a1e3d13df56dc3a02f.tar.gz windows7-drivers-d4e9e941da4dbd2f338fd9a1e3d13df56dc3a02f.zip | |
scripts/build.ps1: add WDK version as a parameter
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/build.ps1 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/build.ps1 b/scripts/build.ps1 index a68caad..900a2d3 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -4,7 +4,9 @@ param( [Parameter(Mandatory=$true)] [string] $Platform = $null, [Parameter(Mandatory=$true)] - [string] $Configuration = $null + [string] $Configuration = $null, + [Parameter(Mandatory=$true)] + [string] $WDK = $null ) $ErrorActionPreference = "Stop"; @@ -39,7 +41,7 @@ function Get-DriverBuildDir { [string] $DriverName ) - return "$script:PSScriptRoot\..\km\build\wdk8.1update\$DriverName" + return "$script:PSScriptRoot\..\km\build\$script:WDK\$DriverName" } function Get-DriverSolutionPath { |
