Add ant task in <UserExtension> of Nt32.fpd to generate the run.cmd file automatically.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1059 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qouyang 2006-07-21 03:22:25 +00:00
parent 2003a22e94
commit 549af2d6a9
1 changed files with 120 additions and 96 deletions

View File

@ -7004,5 +7004,29 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<concat destfile="${FV_DIR}/FV_RECOVERY.fd" binary="true" >
<fileset dir="${FV_DIR}" includes="*.fv"/>
</concat>
<!-- Generate Run.cmd file. This file will call SecMain.exe to start shell.-->
<pathconvert property="SecMainPath" targetos="windows">
<path path="${FV_DIR}/../IA32"/>
</pathconvert>
<echo file="${PLATFORM_DIR}/run.cmd">
@REM&#x0d;
@REM Copyright (c) 2006, Intel Corporation&#x0d;
@REM All rights reserved. This program and the accompanying materials&#x0d;
@REM are licensed and made available under the terms and conditions of the BSD License&#x0d;
@REM which accompanies this distribution. The full text of the license may be found at&#x0d;
@REM http://opensource.org/licenses/bsd-license.php&#x0d;
@REM &#x0d;
@REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,&#x0d;
@REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.&#x0d;
@REM &#x0d;
&#x0d;
@echo off &#x0d;
pushd . &#x0d;
cd ${SecMainPath}&#x0d;
SecMain.exe&#x0d;
popd&#x0d;
@echo on&#x0d;
</echo>
</UserExtensions>
</PlatformSurfaceArea>