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 /BuildBIOS.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 'BuildBIOS.sh')
-rwxr-xr-x | BuildBIOS.sh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/BuildBIOS.sh b/BuildBIOS.sh index b8d21d7af0..91d6bd63d3 100755 --- a/BuildBIOS.sh +++ b/BuildBIOS.sh @@ -21,8 +21,10 @@ function Usage () { echo " Build_Flags: /MN MinnowBoard3 (default: MN)" echo " Build_Flags: /BG Benson Glacier Board" echo " Build_Flags: /MX MinnowBoard3 Module" - echo " Build_Flags: /A Set FabId to A (default: FAB_B)" + echo " Build_Flags: /LH LeafHill CRB Board" + echo " Build_Flags: /A Set FabId to A " echo " Build_Flags: /B Set FabId to B (default: FAB_B)" + echo " Build_Flags: /D Set FabId to D " echo " PlatformName [optional]: Broxton " echo " Target_Flag: Release, Debug " echo @@ -64,6 +66,14 @@ for (( i=1; i<=$#; )) BoardId=MX Build_Flags="$Build_Flags /MX" shift + elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/LH" ]; then + BoardId=LH + Build_Flags="$Build_Flags /LH" + shift + elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/D" ]; then + FabId=D + Build_Flags="$Build_Flags /D" + shift elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/B" ]; then FabId=B Build_Flags="$Build_Flags /B" |