diff options
author | lushifex <shifeix.a.lu@intel.com> | 2017-12-19 16:28:35 +0800 |
---|---|---|
committer | Guo Mang <mang.guo@intel.com> | 2017-12-20 14:08:49 +0800 |
commit | 4eb373e2b3882be36ddf8aebfb5f32a168a35c2f (patch) | |
tree | e81961314ffe72543e2d9a84bca0ee98bf6d8c39 /Platform/BroxtonPlatformPkg/BuildBxtBios.sh | |
parent | 6f8bb8f2a3f2845b3d6aeab6829f10b95aac7cc5 (diff) | |
download | edk2-platforms-4eb373e2b3882be36ddf8aebfb5f32a168a35c2f.tar.xz |
Build Script.
Add build script for E0 stepping LeafHill FAB D CRB board.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: lushifex <shifeix.a.lu@intel.com>
Diffstat (limited to 'Platform/BroxtonPlatformPkg/BuildBxtBios.sh')
-rwxr-xr-x | Platform/BroxtonPlatformPkg/BuildBxtBios.sh | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/Platform/BroxtonPlatformPkg/BuildBxtBios.sh b/Platform/BroxtonPlatformPkg/BuildBxtBios.sh index ef261e6818..74aa7826eb 100755 --- a/Platform/BroxtonPlatformPkg/BuildBxtBios.sh +++ b/Platform/BroxtonPlatformPkg/BuildBxtBios.sh @@ -107,6 +107,12 @@ for (( i=1; i<=$#; )) elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/MX" ]; then BoardId=MX shift + elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/LH" ]; then + BoardId=LH + shift + elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/D" ]; then + FabId=D + shift elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/B" ]; then FabId=B shift @@ -138,9 +144,14 @@ if [ $BoardId == "MN" ]; then elif [ $BoardId == "MX" ]; then BOARD_ID=M3MO echo BOARD_ID = M3MODUL >> $WORKSPACE/Conf/BiosId.env -else +elif [ $BoardId == "BG" ]; then BOARD_ID=BEN1 echo BOARD_ID = BENSONV >> $WORKSPACE/Conf/BiosId.env +elif [ $BoardId == "LH" ]; then + BOARD_ID=LEAF + echo BOARD_ID = LEAFHIL >> $WORKSPACE/Conf/BiosId.env +else + break fi ENBDT_PF_BUILD=TRUE @@ -212,6 +223,13 @@ if [ $BoardId == "MX" ]; then fi fi +if [ $BoardId == "LH" ]; then + if [ $FabId == "D" ]; then + BOARD_REV=D + echo BOARD_REV = D >> $WORKSPACE/Conf/BiosId.env + fi +fi + ##********************************************************************** ## Additional EDK Build Setup/Configuration ##********************************************************************** @@ -353,6 +371,15 @@ if [ $BoardId == "MX" ]; then fi fi +if [ $BoardId == "LH" ]; then + if [ $FabId == "D" ]; then + cp -f $WORKSPACE/Platform/BroxtonPlatformPkg/Common/Binaries/IFWI/LeafHill/FAB_D/SpiChunk1.bin $WORKSPACE/Platform/BroxtonPlatformPkg/Common/Tools/Stitch + cp -f $WORKSPACE/Platform/BroxtonPlatformPkg/Common/Binaries/IFWI/LeafHill/FAB_D/SpiChunk2.bin $WORKSPACE/Platform/BroxtonPlatformPkg/Common/Tools/Stitch + cp -f $WORKSPACE/Platform/BroxtonPlatformPkg/Common/Binaries/IFWI/LeafHill/FAB_D/SpiChunk3.bin $WORKSPACE/Platform/BroxtonPlatformPkg/Common/Tools/Stitch + cp -f $WORKSPACE/Platform/BroxtonPlatformPkg/Common/Binaries/IFWI/LeafHill/FAB_D/GCC/NvStorage.Fv $WORKSPACE/Platform/BroxtonPlatformPkg/Common/Tools/Stitch + fi +fi + # # Assmeble components # |