X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Vlv2TbltDevicePkg%2FBuild_IFWI.sh;h=4a11a1cba9bf2fdd4f2254973c7290f545b3a16f;hp=9bde50207866d566c58e483f1eb8cf8268946087;hb=77557b76427144737ff22bf3c993b2402aef6ad6;hpb=3cbfba02fef9dae07a041fdbf2e89611d72d6f90 diff --git a/Vlv2TbltDevicePkg/Build_IFWI.sh b/Vlv2TbltDevicePkg/Build_IFWI.sh old mode 100644 new mode 100755 index 9bde502078..4a11a1cba9 --- a/Vlv2TbltDevicePkg/Build_IFWI.sh +++ b/Vlv2TbltDevicePkg/Build_IFWI.sh @@ -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