]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Vlv2TbltDevicePkg/Build_IFWI.sh
SignedCapsulePkg: Replace [Ascii|Unicode]ValueToString
[mirror_edk2.git] / Vlv2TbltDevicePkg / Build_IFWI.sh
old mode 100644 (file)
new mode 100755 (executable)
index 9bde502..4a11a1c
@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
 ##**********************************************************************
 ## Function define
 ##**********************************************************************
@@ -5,17 +6,16 @@ function Usage ( ) {
   echo
   echo "Script to build BIOS firmware and stitch the entire IFWI."
   echo
-  echo "Usage: Build_IFWI.bat   PlatformType  BuildTarget  "
+  echo "Usage: Build_IFWI.bat [options]  PlatformType  BuildTarget  "
   echo
   echo 
+  echo "       /yL [option]  :   Enable SPI lock"
   echo "       Platform Types:   MNW2"
   echo "       Build Targets:    Release, Debug"
   echo
   echo "       See  Stitch/Stitch_Config.txt  for additional stitching settings."
   echo
   echo
-  echo "Press any key......"
-  read
   exit 0
 }
 
@@ -61,6 +61,9 @@ for (( i=1; i<=$#; ))
     elif [ "$1" == "/nV" ]; then
       Stitch_Flags="$Stitch_Flags /nV"
       shift
+    elif [ "$1" == "/yL" ]; then
+      Build_Flags="$Build_Flags /yL"
+      shift
     else
       break
     fi