From ead5bb8b63a4389608ffc8141a12292b5cf35228 Mon Sep 17 00:00:00 2001 From: lushifex Date: Tue, 11 Jul 2017 13:22:17 +0800 Subject: Change GCC build script. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lushifex --- Vlv2TbltDevicePkg/Build_IFWI.sh | 7 +++++-- Vlv2TbltDevicePkg/bld_vlv.sh | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Vlv2TbltDevicePkg/Build_IFWI.sh b/Vlv2TbltDevicePkg/Build_IFWI.sh index 4a11a1cba9..0f7e15562e 100755 --- a/Vlv2TbltDevicePkg/Build_IFWI.sh +++ b/Vlv2TbltDevicePkg/Build_IFWI.sh @@ -6,7 +6,7 @@ function Usage ( ) { echo echo "Script to build BIOS firmware and stitch the entire IFWI." echo - echo "Usage: Build_IFWI.bat [options] PlatformType BuildTarget " + echo "Usage: Build_IFWI.sh [options] PlatformType BuildTarget " echo echo echo " /yL [option] : Enable SPI lock" @@ -15,7 +15,8 @@ function Usage ( ) { echo echo " See Stitch/Stitch_Config.txt for additional stitching settings." echo - echo + echo "Press any key......" + read exit 0 } @@ -71,6 +72,8 @@ for (( i=1; i<=$#; )) ## Require 2 input parameters if [ "$2" == "" ]; then + echo "Not Enough Arguments Provided" + echo "Please review the Help screen" Usage fi diff --git a/Vlv2TbltDevicePkg/bld_vlv.sh b/Vlv2TbltDevicePkg/bld_vlv.sh index 538b3ef9d7..cba30c6d88 100755 --- a/Vlv2TbltDevicePkg/bld_vlv.sh +++ b/Vlv2TbltDevicePkg/bld_vlv.sh @@ -7,7 +7,7 @@ function Usage() { echo "***************************************************************************" echo "Build BIOS rom for VLV platforms." echo - echo "Usage: bld_vlv.bat PlatformType [Build Target]" + echo "Usage: bld_vlv.sh PlatformType [Build Target]" echo echo echo " Platform Types: MNW2" -- cgit v1.2.3