summaryrefslogtreecommitdiff
path: root/BuildBIOS.sh
diff options
context:
space:
mode:
authorzwei4 <david.wei@intel.com>2017-05-26 11:13:42 +0800
committerzwei4 <david.wei@intel.com>2017-05-26 11:13:42 +0800
commit673afaa1174832eeab98ccfd89e7d1504aecc1f5 (patch)
tree2bdb88319c033b7427600d5336fa11fc9504dd9e /BuildBIOS.sh
parent22c9d0932dca0d0d959faf8399c8f220ba5ff7d2 (diff)
downloadedk2-platforms-673afaa1174832eeab98ccfd89e7d1504aecc1f5.tar.xz
GCC build support.
Change code which is not compatible with GCC. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: zwei4 <david.wei@intel.com>
Diffstat (limited to 'BuildBIOS.sh')
-rwxr-xr-xBuildBIOS.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/BuildBIOS.sh b/BuildBIOS.sh
index 0dece1f773..ff815e9fa7 100755
--- a/BuildBIOS.sh
+++ b/BuildBIOS.sh
@@ -11,6 +11,11 @@
Target_Flag=Release
if [ "$1" == "Debug" ]; then
Target_Flag=Debug
+ shift
+fi
+if [ "$1" == "Release" ]; then
+ Target_Flag=Release
+ shift
fi
echo $Target_Flag