]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Move post building command from make file to bat file. Until build system support...
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 25 Apr 2008 02:59:16 +0000 (02:59 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 25 Apr 2008 02:59:16 +0000 (02:59 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5126 6f19259b-4bc3-4df7-8a09-765794883524

DuetPkg/PostBuild.bat [new file with mode: 0644]

diff --git a/DuetPkg/PostBuild.bat b/DuetPkg/PostBuild.bat
new file mode 100644 (file)
index 0000000..cbc0bab
--- /dev/null
@@ -0,0 +1,15 @@
+#\r
+# Currently, Build system does not provide post build mechanism for module \r
+# and platform building, so just use a bat file to do post build commands.\r
+# Originally, following post building command is for EfiLoader module.\r
+#\r
+\r
+set BUILD_DIR=%WORKSPACE%\Build\DuetPkg\DEBUG_MYTOOLS\r
+set BASETOOLS_DIR=%WORKSPACE_TOOLS_PATH%\Bin\Win32\r
+set OUTPUT_DIR=%BUILD_DIR%\IA32\DuetPkg\BootSector\BootSector\OUTPUT\r
+\r
+%BASETOOLS_DIR%\TianoCompress -e -o %BUILD_DIR%\FV\DUETEFIMAINFV.z %BUILD_DIR%\FV\DUETEFIMAINFV.Fv\r
+%BASETOOLS_DIR%\TianoCompress -e -o %BUILD_DIR%\FV\DxeMain.z %BUILD_DIR%\IA32\DxeMain.efi\r
+%BASETOOLS_DIR%\TianoCompress -e -o %BUILD_DIR%\FV\DxeIpl.z %BUILD_DIR%\IA32\DxeIpl.efi\r
+%BASETOOLS_DIR%\EfiLdrImage.exe -o %BUILD_DIR%\FV\Efildr32 %BUILD_DIR%\IA32\EfiLoader.efi %BUILD_DIR%\FV\DxeIpl.z %BUILD_DIR%\FV\DUETEFIMAINFV.z\r
+copy /b %OUTPUT_DIR%\Start.com+%OUTPUT_DIR%\Efi32.com2+%BUILD_DIR%\FV\Efildr32 %BUILD_DIR%\FV\Efildr\r