diff options
author | Lu, ShifeiX A <shifeix.a.lu@intel.com> | 2017-09-14 13:59:07 +0800 |
---|---|---|
committer | zwei4 <david.wei@intel.com> | 2017-09-14 14:24:54 +0800 |
commit | 6cd1979741110bc949153e1f019bbff33e040fed (patch) | |
tree | 185653158a8ff0ee225b5b7a07241b90d69dbdbc /BuildBIOS.sh | |
parent | d0985c22d5c2c7e24fcf82f8bd77dad44eb342b8 (diff) | |
download | edk2-platforms-6cd1979741110bc949153e1f019bbff33e040fed.tar.xz |
Build Script.
Change build script to generate different BIOS ID to differentiate Minnow3 and Benson Glacier 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 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/BuildBIOS.sh b/BuildBIOS.sh index 552cf2d197..aea8daa1ab 100755 --- a/BuildBIOS.sh +++ b/BuildBIOS.sh @@ -18,6 +18,8 @@ function Usage () { echo echo "Usage: BuildBIOS.sh Build_Flags [PlatformName] Target_Flag" echo + echo " Build_Flags: /MN Minnow3 Board (default: MN)" + echo " Build_Flags: /BG Benson Glacier Board" echo " Build_Flags: /A Set FabId to A (default: FAB_B)" echo " Build_Flags: /B Set FabId to B (default: FAB_B)" echo " PlatformName [optional]: Broxton " @@ -49,7 +51,11 @@ fi ## Build Flags for (( i=1; i<=$#; )) do - if [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/B" ]; then + if [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/BG" ]; then + BoardId=BG + Build_Flags="$Build_Flags /BG" + shift + elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/B" ]; then FabId=B Build_Flags="$Build_Flags /B" shift |