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/BuildBios.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/BuildBios.sh')
-rw-r--r-- | Platform/BroxtonPlatformPkg/BuildBios.sh | 43 |
1 files changed, 2 insertions, 41 deletions
diff --git a/Platform/BroxtonPlatformPkg/BuildBios.sh b/Platform/BroxtonPlatformPkg/BuildBios.sh index 2195af63df..40d873e7a1 100644 --- a/Platform/BroxtonPlatformPkg/BuildBios.sh +++ b/Platform/BroxtonPlatformPkg/BuildBios.sh @@ -94,40 +94,7 @@ EDK_SOURCE=$WORKSPACE ## Optional arguments for (( i=1; i<=$#; )) do - if [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/Q" ]; then - Build_Flags="$Build_Flags --quiet" - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/L" ]; then - Build_Flags="$Build_Flags -j EDK2.log" - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/C" ]; then - echo "Removing previous Build files..." - if [ -d "Build" ]; then - rm -r Build - fi - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/W" ]; then - SrcDebug=TRUE - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/SV" ]; then - SV_BIOS_ENABLE=TRUE - SV_String=_SV_ - Arch=X64 - echo "-- Forcing to 64-bit for SV build --" - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/PPV" ]; then - PPV_BIOS_ENABLE=TRUE - SV_String=_PPV_ - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/RVVP" ]; then - RVVP_BIOS_ENABLE=TRUE - SV_String=_RVVP_ - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/RVV" ]; then - RVV_BIOS_ENABLE=TRUE - SV_String=_RVV_ - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/X64" ]; then + if [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/X64" ]; then Arch=X64 shift elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/B" ]; then @@ -136,12 +103,6 @@ for (( i=1; i<=$#; )) elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/A" ]; then FabId=A shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/VP" ]; then - VP_BIOS_ENABLE=TRUE - shift - elif [ "$(echo $1 | tr 'a-z' 'A-Z')" == "/CSLE" ]; then - CSLE_ENABLE=TRUE - shift else break fi @@ -151,7 +112,7 @@ for (( i=1; i<=$#; )) if [ "$2" == "" ]; then echo echo "Not Enough Arguments Provided" - echo "Please review the Help screen "/?"" + echo "Please review the Help screen" ErrorExit fi |