Commit Graph
21 Commits
Author SHA1 Message Date
Kostiantyn Kostiuk 4c4d1812a8 Add Windows 11 target
Update build scripts to use EWDK 11 21H2 for Win10 target
and EWDK 11 22H2 for Win11 target

Signed-off-by: Kostiantyn Kostiuk <[email protected]>
2023-12-19 15:55:31 +02:00
Kostiantyn Kostiuk c165bd5498 Remove Win8.1 targets and build scripts
Signed-off-by: Kostiantyn Kostiuk <[email protected]>
2023-11-07 13:11:11 +01:00
Kostiantyn Kostiuk d39a39ca74 Remove Win8 targets and build scripts
Signed-off-by: Kostiantyn Kostiuk <[email protected]>
2023-11-07 13:11:11 +01:00
Kostiantyn Kostiuk fdd030bf26 Remove legacy OSes from generic build scripts and tools
Signed-off-by: Kostiantyn Kostiuk <[email protected]>
2022-01-17 10:48:00 +02:00
Yuri Benditovich 327ad87112 build: prevent build failure when test signing required
If due to any reason the test signing of the driver is requested
the build with EWDK may fail due to unknown file digest algorithm.
Make sure the default algorithm is always defined (sha256).

Signed-off-by: Yuri Benditovich <[email protected]>
2021-10-12 13:01:37 +03:00
Ilya Rudakov 1ae2cec220 build: enable CETCompat for all projects
Signed-off-by: Ilya Rudakov <[email protected]>
2021-09-12 09:12:21 +03:00
Ilya Rudakov 93f976c546 build: Auto target for UM apps
Checking the current VS version and setting the supported version of the
platform toolset: v141 for VS2017 and v142 for VS2019, respectively. Set
PlatformToolset to AutoVSToolset in any UM app project where you want to
take advantage of auto target.

Signed-off-by: Ilya Rudakov <[email protected]>
2021-09-09 10:43:16 +03:00
Yuri Benditovich c985a6ca1b build: add an option to build INF files for Win10 as DIFX compatible
INF files for Win10 has 10.0 OS ornamentation that makes them
not installable with DIFX. Add a possibility to build INF files
for Win10 with 6.3 ornamentation by settinge environment
variable WIN10_INF_DIFX_COMPAT=1

Signed-off-by: Yuri Benditovich <[email protected]>
2021-02-07 16:20:20 +02:00
Yuri Benditovich 5c05a873d9 build: instrument common XMLs for ARM64
Signed-off-by: Yuri Benditovich <[email protected]>
2019-04-23 16:40:12 +03:00
Yuri Benditovich 563cedc052 netkvm: solve problem building projects when higher WDK was installed
This commit is preparation for build with VS2017, which requires
WDK higher than 15063 to be installed.
When VS2015 and VS2017 coexist and VS2015 is used for drivers
build, but higher WDK(s) are also installed, the files under
"Windows Kits\10\build" are modified causing failure when build runs.
Current commit fixes it by importing Driver.Initial.props prior
to any other imported project. In order to ensure proper order of
importing projects, we remove direct importing of Visual studio
.props files and now each driver package project includes
only its own .props file and Tools\Driver.Common.props file,
which includes Visual Studio .props files and Driver.Initial.props
file in proper order.

Signed-off-by: Yuri Benditovich <[email protected]>
2018-11-09 23:23:31 +02:00
Sameeh Jubran 45a48dc54a WPP Tracing: Set wppmodulename as target name
The wppmodulename is the friendly name of the message GUID. The
friendly name of the message GUID appears, by default, in the trace
message prefix.

By default, the friendly name of the message GUID is the name of
the directory in which the trace provider was built, this causes
some drivers as "sys". This commit overrides the default value
by setting the wppmodulename to be target name.

Signed-off-by: Sameeh Jubran <[email protected]>
2018-04-29 14:51:31 +03:00
Yan Vugenfirer cdfcf7fc95 Run inf2cat with localtime command line option
Due to the time difference between local time and UTC, compilation might fail.

Signed-off-by: Yan Vugenfirer <[email protected]>
2018-03-12 16:47:30 +02:00
Yan Vugenfirer 803f471615 All drivers for Windows 10 will be built for "Universal" target platform
Signed-off-by: Yan Vugenfirer <[email protected]>
2018-01-28 19:17:46 +02:00
Alexey V. Kostyushko 641f6a20b9 tools: added support for multiple vendors
Removed rhel versioning from Driver.Common.props,
added import of Driver.Vendor.props,
and simplified InfArch definitions

Driver.Vendor.props introduces schema to support different vendors
Driver.RHEL.props contains versioning and inf substitutions for Red Hat
Driver.VZ.props contains the same for Virtuozzo

Signed-off-by: Alexey V. Kostyushko <[email protected]>
Signed-off-by: Denis V. Lunev <[email protected]>
2017-03-16 15:25:21 +01:00
Ladi Prosek 97fd8a45a0 Eliminate _MAJORVERSION_, _MINORVERSION_, _NT_TARGET_MIN
The three environment variables were just defined to be equal to
_BUILD_MAJOR_VERSION_, _BUILD_MINOR_VERSION_, and _RHEL_RELEASE_VERSION_,
respectively, adding no value.

This commit removes them and replaces all occurrences with the source
variables as mentioned above.
2016-10-14 21:12:06 +11:00
Ladi Prosek ac252b29d4 Add TargetOS and TargetArch to Driver.Common.props
There are several different labels for the two architectures we build:

x86, i386, Win32
x64, amd64

This commit adds the ones used in Install directory names (x86/amd64)
to the common build file.
2016-10-14 21:12:06 +11:00
Ladi Prosek 8fa6cbe549 Set legacy executable path
The LegacyDDK targets miss some of the executable path
specifications, leading to build errors on some machines.

This commit adds $(LegacyDDKDir)\bin\x86 to ExecutablePath
to make sure that tools like inf2cat and stampinf can be
used in pre- and post-build events.

This is analogous to what's set by
Windows Kits\10\build\WindowsDriver.x64.props
when building for modern OSes.
2016-09-13 14:10:29 +10:00
Ladi Prosek b525baf28f Move common v140_xp toolset settings to Driver.Common.props
It takes a specially crafted set of both compiler and linker
options to build a kernel mode driver for a downlevel platform
using the legacy DDK and Visual Studio 2015. The new common
props file is a good place for these options/props.
2016-09-06 16:34:32 +10:00
Ladi Prosek 77fee92995 Move the definition of InfArch to Driver.Common.props
The new common props file is a good place for properties shared
by all drivers.
2016-09-06 16:34:32 +10:00
Ladi Prosek 086d1749b8 Move the definition of LegacyDDKDir to Driver.Common.props
The new common props file is a good place for properties shared
by all drivers.
2016-09-06 16:34:32 +10:00
Ladi Prosek c9e59fc3d1 Introduce Driver.Common.props
This commit adds a new MSBuild file to be included from all
driver project files to define version macros and set basic
version-related VC properies.
2016-09-06 16:34:32 +10:00