mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
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:
parent
2003a22e94
commit
549af2d6a9
@ -7004,5 +7004,29 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
<concat destfile="${FV_DIR}/FV_RECOVERY.fd" binary="true" >
|
<concat destfile="${FV_DIR}/FV_RECOVERY.fd" binary="true" >
|
||||||
<fileset dir="${FV_DIR}" includes="*.fv"/>
|
<fileset dir="${FV_DIR}" includes="*.fv"/>
|
||||||
</concat>
|
</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
|
||||||
|
@REM Copyright (c) 2006, Intel Corporation
|
||||||
|
@REM All rights reserved. This program and the accompanying materials
|
||||||
|
@REM are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
@REM which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@REM http://opensource.org/licenses/bsd-license.php
|
||||||
|
@REM 
|
||||||
|
@REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||||
|
@REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
|
@REM 
|
||||||
|

|
||||||
|
@echo off 
|
||||||
|
pushd . 
|
||||||
|
cd ${SecMainPath}
|
||||||
|
SecMain.exe
|
||||||
|
popd
|
||||||
|
@echo on
|
||||||
|
</echo>
|
||||||
</UserExtensions>
|
</UserExtensions>
|
||||||
</PlatformSurfaceArea>
|
</PlatformSurfaceArea>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user