Put the FD creation operation in run.cmd temporary.
[mirror_edk2.git] / EdkNt32Pkg / run.cmd
CommitLineData
878ddf1f 1@REM\r
2@REM Copyright (c) 2006, Intel Corporation\r
3@REM All rights reserved. This program and the accompanying materials\r
4@REM are licensed and made available under the terms and conditions of the BSD License\r
5@REM which accompanies this distribution. The full text of the license may be found at\r
6@REM http://opensource.org/licenses/bsd-license.php\r
7@REM \r
8@REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
9@REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
10@REM\r
11\r
12@echo off\r
9bc8d472 13\r
14:check_fd\r
15if exist %WORKSPACE%\EdkNt32Pkg\build\Debug\Fv\Fv_Recovery.fd goto start_secmain\r
16\r
17:create_fd\r
18if not exist Build\Debug\Fv mkdir Build\Debug\Fv\r
19copy Build\Debug\Msft\Fv\FV_RECOVERY.fv /B + Build\Debug\Msft\Fv\NV_STORAGE.fv /B Build\Debug\Fv\Fv_Recovery.fd /B\r
20\r
21:start_secmain\r
878ddf1f 22pushd .\r
9bc8d472 23cd Build\DEBUG\MSFT\IA32\r
878ddf1f 24SecMain.exe\r
25popd\r
26@echo on\r
27\r