diff options
author | lushifex <shifeix.a.lu@intel.com> | 2017-07-12 14:22:06 +0800 |
---|---|---|
committer | Guo Mang <mang.guo@intel.com> | 2017-07-12 17:20:31 +0800 |
commit | 77de52c8dadec9e995590902dfd55b28ab2465e4 (patch) | |
tree | 06ff02220a46656ebccba21f4c2c095952881853 /Platform/BroxtonPlatformPkg/BuildIFWI.sh | |
parent | 08f8ff5c23590ed80749daa00f33525b6ae1ce07 (diff) | |
download | edk2-platforms-77de52c8dadec9e995590902dfd55b28ab2465e4.tar.xz |
Build Script.
GCC build script clean up.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: lushifex <shifeix.a.lu@intel.com>
Diffstat (limited to 'Platform/BroxtonPlatformPkg/BuildIFWI.sh')
-rwxr-xr-x | Platform/BroxtonPlatformPkg/BuildIFWI.sh | 64 |
1 files changed, 1 insertions, 63 deletions
diff --git a/Platform/BroxtonPlatformPkg/BuildIFWI.sh b/Platform/BroxtonPlatformPkg/BuildIFWI.sh index a315e0bfdc..82d5f4504b 100755 --- a/Platform/BroxtonPlatformPkg/BuildIFWI.sh +++ b/Platform/BroxtonPlatformPkg/BuildIFWI.sh @@ -33,19 +33,9 @@ function Usage () { ## Assign initial values exitCode=0 Build_Flags= -Stitch_Flags= Arch=IA32 FabId=B -## Description of each Platform/Board_ID -## APLK - Netbook/Desktop (PCCG) -## BXTM - Phablet build (MCG) -## BXTM1 - Phablet build for BXT Die1(E0) (MCG) -## APLI - Embedded/IVI build (IOTG) -eNB_RVP=APLK -Phblt_RVP=BXTM -Phblt_Die1_RVP=BXTM1 -Embd_RVP=APLI ## Parse Optional arguments if [ "$1" == "/?" ]; then @@ -61,31 +51,7 @@ fi ## Build Flags for (( i=1; i<=$#; )) do - if [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/Q" ]; then - Build_Flags="$Build_Flags /q" - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/L" ]; then - Build_Flags="$Build_Flags /l" - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/C" ]; then - Build_Flags="$Build_Flags /c" - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/W" ]; then - Build_Flags="$Build_Flags /w" - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/SV" ]; then - Build_Flags="$Build_Flags /sv" - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/PPV" ]; then - Build_Flags="$Build_Flags /ppv" - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/RVVP" ]; then - Build_Flags="$Build_Flags /rvvp" - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/RVV" ]; then - Build_Flags="$Build_Flags /rvv" - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/X64" ]; then + if [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/X64" ]; then Arch=X64 Build_Flags="$Build_Flags /x64" shift @@ -97,39 +63,11 @@ for (( i=1; i<=$#; )) FabId=A Build_Flags="$Build_Flags /A" shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/VP" ]; then - Build_Flags="$Build_Flags /vp" - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/CSLE" ]; then - Build_Flags="$Build_Flags /csle" - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/SATA" ]; then - Build_Flags="$Build_Flags /sata" - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/PCIE" ]; then - Build_Flags="$Build_Flags /pcie" - shift else break fi done -## Stitch Flags -for (( i=1; i<=$#; )) - do - if [ "$1" == "/nG" ]; then - Stitch_Flags="$Stitch_Flags /nG" - shift - elif [ "$1" == "/uM" ]; then - Stitch_Flags="$Stitch_Flags /uM" - shift - elif [ "$1" == "/nB" ]; then - Stitch_Flags="$Stitch_Flags /nB" - shift - else - break - fi - done ## Require 2 input parameters if [ "$2" == "" ]; then |