mirror of https://github.com/acidanthera/audk.git
Added check to skip generating target.txt and tools_def.txt if they already exist.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1550 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
3e73f377a8
commit
e5890ee5f8
|
@ -75,8 +75,24 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
rewritePrefix="file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/"/>
|
||||
</catalog>]]>
|
||||
</echo>
|
||||
<copy file="Conf/tools_def.template" tofile="Conf/tools_def.txt" overwrite="false"/>
|
||||
<copy file="Conf/target.template" tofile="Conf/target.txt" overwrite="false"/>
|
||||
<if>
|
||||
<not>
|
||||
<available file="Conf/tools_def.txt"/>
|
||||
</not>
|
||||
<then>
|
||||
<copy file="Conf/tools_def.template" tofile="Conf/tools_def.txt"/>
|
||||
</then>
|
||||
</if>
|
||||
|
||||
<if>
|
||||
<not>
|
||||
<available file="Conf/target.txt"/>
|
||||
</not>
|
||||
<then>
|
||||
<copy file="Conf/target.template" tofile="Conf/target.txt"/>
|
||||
</then>
|
||||
</if>
|
||||
|
||||
<if>
|
||||
<not>
|
||||
<available file="Conf/FrameworkDatabase.db"/>
|
||||
|
|
Loading…
Reference in New Issue