It’s in the makefile.inc, like this .
KMDF_VERSION_MAJOR=1
KMDF_VERSION_MINOR=9
_LNG=$(LANGUAGE)
_PKG=Packages
_INX=.
WIN7=Win7_
VISTA=Vista_
STAMP=stampinf -f $@ -a $(_BUILDARCH) -k
$(KMDF_VERSION_MAJOR).$(KMDF_VERSION_MINOR) -d * -v *
$(OBJ_PATH)$(O)$(INF_NAME).inf: $(_INX)$(INF_NAME).inx
copy $(_INX)$(@B).inx $@
$(STAMP)
symstore add /f $(OBJ_PATH)$(O)* /s c:\symbols /t “Driver symbols” /v
“1.1.19”
! if “$(_NT_TARGET_VERSION)” == “0x600”
@echo Replaceing $(_NT_TARGET_VERSION) files for Vista
replace $(OBJ_PATH)$(O)*
$(OBJ_PATH)$(_PKG)$(VISTA)$(_BUILDARCH) /u
cd $(OBJ_PATH)$(_PKG)$(VISTA)$(_BUILDARCH)
! endif
! if “$(_NT_TARGET_VERSION)” == “0x601”
@echo Replaceing $(_NT_TARGET_VERSION) files for Win7
replace $(OBJ_PATH)$(O)*
$(OBJ_PATH)$(_PKG)$(WIN7)$(_BUILDARCH) /u
cd $(OBJ_PATH)$(_PKG)$(WIN7)$(_BUILDARCH)
! endif
@echo Signing the SYS file.
…\SignBat.cmd
Caution, the spaces between “! if”, while silly do seem to be needed, at
least I had problems getting it to work without them and finally said to
hell with it and left them.
Gary G. Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dave Plummer
Sent: Saturday, July 16, 2011 6:42 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Integrating SignTool with DDKBUILD
I searched the archives and found a few references to people -doing- so, but
not clear on -how- they were doing it. I have a driver project that I build
with DDKBUILD from within VS2010, and all works well. However, I’m not sure
how to add a post-build step so that I can run signtool.exe after a
successful build.
Can someone point me in the right direction? I’m not sure if it’s in the
sources, makefile.inc, passed through ddkbuild, etc…
Thanks,
Davepl
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
__________ Information from ESET Smart Security, version of virus signature
database 6297 (20110715) __________
The message was checked by ESET Smart Security.
http://www.eset.com