summaryrefslogtreecommitdiff
path: root/Vlv2TbltDevicePkg/Build_IFWI.bat
diff options
context:
space:
mode:
authorGuo Mang <mang.guo@intel.com>2017-08-02 13:35:32 +0800
committerGuo Mang <mang.guo@intel.com>2017-09-05 19:45:52 +0800
commitc365ab11ecc241e56f09b57aff187a442b76907a (patch)
treea0f764037666faf5460314a94e079aa335ee160a /Vlv2TbltDevicePkg/Build_IFWI.bat
parent1e8834babb2dae9ae38d44e3e9a763bc662de3f6 (diff)
downloadedk2-platforms-c365ab11ecc241e56f09b57aff187a442b76907a.tar.xz
Change Build Script
Change build script because PACKAGES_PATH is changed since we get code from both edk2-platforms and edk2 repository. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Mang <mang.guo@intel.com>
Diffstat (limited to 'Vlv2TbltDevicePkg/Build_IFWI.bat')
-rw-r--r--Vlv2TbltDevicePkg/Build_IFWI.bat6
1 files changed, 3 insertions, 3 deletions
diff --git a/Vlv2TbltDevicePkg/Build_IFWI.bat b/Vlv2TbltDevicePkg/Build_IFWI.bat
index 99c3ce3705..525d28866c 100644
--- a/Vlv2TbltDevicePkg/Build_IFWI.bat
+++ b/Vlv2TbltDevicePkg/Build_IFWI.bat
@@ -1,7 +1,7 @@
@REM @file
@REM Windows batch file to build BIOS ROM
@REM
-@REM Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
+@REM Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
@REM 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
@@ -121,11 +121,11 @@ if %ERRORLEVEL% NEQ 0 (
echo.
echo Finished Building BIOS.
@REM Set BIOS_ID environment variable here.
-call Conf\BiosId.bat
+call ..\edk2\Conf\BiosId.bat
echo BIOS_ID=%BIOS_ID%
:: Set the Board_Id, Build_Type, Version_Major, and Version_Minor environment variables
-find /v "#" Conf\BiosId.env > ver_strings
+find /v "#" ..\edk2\Conf\BiosId.env > ver_strings
for /f "tokens=1,3" %%i in (ver_strings) do set %%i=%%j
del /f/q ver_strings >nul
set BIOS_Name=%BOARD_ID%_%Arch%_%BUILD_TYPE%_%VERSION_MAJOR%_%VERSION_MINOR%.ROM