Re: Using NTTARGETFILE1 macro in driver build process
- From: "Ivan Brugiolo [MSFT]" <ivanbrug@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 14 Mar 2008 08:37:34 -0700
Can you express a dependency on the target that you have in the makefile.inc
?
This way it will be build only after the dependency has been built as well.
--
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"MK" <MK@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BFF926D4-0063-4862-84E0-8F9DDF6CCDED@xxxxxxxxxxxxxxxx
Hi,
I am using NTTARGETFILE1 macro in the sources file, to create a specific
file during driver build (through build utility). It creates the file, as
expected. But it creates the files twice. DDK says "NTTARGETFILE1 is
invoked
on pass one or later passes". I think the command specified in the
makefile.inc to create the file is invoked twice ( pass 1 and at the time
of
linking). Because of this unwanted second time execution of the command,
compilation takes more time. Is there anything to avoid this unwanted
stuff.
Something which gets executed only once, either at the time of compilation
or
at the time of linking.
I have used the macro like...
In sources file...
.
.
NTTARGETFILE1=CreateMyFile
In makefile.inc ...
.
.
CreateMyFile:
CommandToCreateTheFile
Thanks,
--
MK
.
- Follow-Ups:
- Prev by Date: Re: How to replace inbox driver in Vista?
- Next by Date: Re: WPP (TraceView etc.) in User Mode Application - Possible?
- Previous by thread: WPP (TraceView etc.) in User Mode Application - Possible?
- Next by thread: Re: Using NTTARGETFILE1 macro in driver build process
- Index(es):
Relevant Pages
|