]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkNt32Pkg/Nt32.fpd
Fix the build break by removing an unreferenced static function.
[mirror_edk2.git] / EdkNt32Pkg / Nt32.fpd
index f4a656319198dc3fb2903f760fc1d2d6103551ce..5c81986e85d702dd644e395879e39986cb4c65ed 100644 (file)
     <concat destfile="${FV_DIR}/FV_RECOVERY.fd" binary="true" force="no">\r
       <fileset dir="${FV_DIR}" includes="*.fv"/>\r
     </concat>\r
-    <!--Generate Run.cmd file. This file will call SecMain.exe to start shell.-->\r
     <pathconvert property="SecMainPath" targetos="windows">\r
       <path path="${TARGET_DIR}/IA32"/>\r
     </pathconvert>\r
-    <echo file="${BUILD_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 file="${TARGET_DIR}/run.cmd">@REM\r
+      @REM Copyright (c) 2006, Intel Corporation\r
+      @REM All rights reserved. This program and the accompanying materials\r
+      @REM are licensed and made available under the terms and conditions of the BSD License\r
+      @REM which accompanies this distribution.  The full text of the license may be found at\r
+      @REM http://opensource.org/licenses/bsd-license.php\r
+      @REM \r
+      @REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+      @REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+      @REM \r
+      \r
+      @echo off \r
+      pushd . \r
+      cd ${SecMainPath}\r
+      SecMain.exe\r
+      popd\r
       @echo on</echo>\r
   </UserExtensions>\r
+  <UserExtensions UserID="TianoCore" Identifier="run">\r
+    <!-- execute the NT32 simulator -->\r
+    <exec executable="${TARGET_DIR}/IA32/SecMain.exe" dir="${TARGET_DIR}/IA32" spawn="false"/>\r
+  </UserExtensions>\r
 </PlatformSurfaceArea>
\ No newline at end of file