FD file should only generated in build time but not in run.cmd. Fix it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@867 6f19259b-4bc3-4df7-8a09-765794883524
diff --git a/EdkNt32Pkg/Nt32.fpd b/EdkNt32Pkg/Nt32.fpd
index 6d9d94f..d1cddbc 100644
--- a/EdkNt32Pkg/Nt32.fpd
+++ b/EdkNt32Pkg/Nt32.fpd
@@ -6919,7 +6919,8 @@
</BuildOptions>
<UserExtensions UserID="TianoCore" Identifier="1">
- <concat destfile="${FV_DIR}/FV_RECOVERY.fd" binary="true" >
+ <mkdir dir="${FV_DIR}/../../FV"/>
+ <concat destfile="${FV_DIR}/../../FV/FV_RECOVERY.fd" binary="true" >
<fileset dir="${FV_DIR}" includes="*.fv"/>
</concat>
</UserExtensions>
diff --git a/EdkNt32Pkg/run.cmd b/EdkNt32Pkg/run.cmd
index 145558f..5f251a6 100644
--- a/EdkNt32Pkg/run.cmd
+++ b/EdkNt32Pkg/run.cmd
@@ -11,10 +11,6 @@
@echo off
-:create_fd
-if not exist Build\Debug\Fv mkdir Build\Debug\Fv
-copy Build\Debug\Msft\Fv\FV_RECOVERY.fv /B + Build\Debug\Msft\Fv\NV_STORAGE.fv /B Build\Debug\Fv\Fv_Recovery.fd /B
-
:start_secmain
pushd .
cd Build\DEBUG\MSFT\IA32