summaryrefslogtreecommitdiff
path: root/Platform
diff options
context:
space:
mode:
authorJiewen Yao <jiewen.yao@intel.com>2017-06-28 15:46:48 +0800
committerJiewen Yao <jiewen.yao@intel.com>2017-06-28 15:48:19 +0800
commit112090deba2a564dc228f165c7855d83bdc6babe (patch)
tree134c38ad1953c8bc445c3d53cf5bd87c781df5ea /Platform
parentbe33539d9953574822b1fcefd30445f6e6e45002 (diff)
downloadedk2-platforms-112090deba2a564dc228f165c7855d83bdc6babe.tar.xz
Fix build.
Reviewed-by: Chasel Chiu <chasel.chiu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'Platform')
-rw-r--r--Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/bld.bat5
1 files changed, 3 insertions, 2 deletions
diff --git a/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/bld.bat b/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/bld.bat
index 93b8162257..1b777dc7aa 100644
--- a/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/bld.bat
+++ b/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/bld.bat
@@ -52,13 +52,14 @@ cd %WORKSPACE%
if exist %WORKSPACE_PLATFORM%\%PROJECT%\OpenBoardPkgPcd.dsc attrib -r %WORKSPACE_PLATFORM%\%PROJECT%\OpenBoardPkgPcd.dsc
@call python %WORKSPACE_PLATFORM%\%PLATFORM_PACKAGE%\Tools\Fsp\RebaseAndPatchFspBinBaseAddress.py %WORKSPACE_PLATFORM%\%PLATFORM_BOARD_PACKAGE%\Include\Fdf\FlashMapInclude.fdf %WORKSPACE_FSP_BIN%\KabylakeFspBinPkg Fsp.fd %WORKSPACE_PLATFORM%\%PROJECT%\OpenBoardPkgPcd.dsc 0x70
-cd %WORKSPACE%
-
@if %ERRORLEVEL% NEQ 0 (
@echo !!! ERROR:RebaseAndPatchFspBinBaseAddress failed!!!
set SCRIPT_ERROR=1
goto :BldFail
)
+
+cd %WORKSPACE%
+
copy /y /b %WORKSPACE_FSP_BIN%\KabylakeFspBinPkg\Fsp_Rebased_M.fd+%WORKSPACE_FSP_BIN%\KabylakeFspBinPkg\Fsp_Rebased_T.fd %WORKSPACE_FSP_BIN%\KabylakeFspBinPkg\Fsp_Rebased_M_T.fd
@REM prefix pad.bin file which adds 0xC bytes of data (Note: Section will add 4 bytes of SECTION Header). This is done to align the FSP Header to 16 bytes
copy /y /b %WORKSPACE_PLATFORM%\%PLATFORM_PACKAGE%\Tools\Fsp\pad.bin+%WORKSPACE_FSP_BIN%\KabylakeFspBinPkg\Fsp_Rebased_S.fd %WORKSPACE_FSP_BIN%\KabylakeFspBinPkg\Fsp_Rebased_S_padded.fd