From b7859ce55b85f06133ffb4c85e34f5d25a84f0b3 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Fri, 20 Feb 2015 05:56:41 +0000 Subject: bash scripts: Make script output more user-friendly --- resources/scripts/helpers/build/module/bucts | 4 ++++ resources/scripts/helpers/build/module/coreboot | 4 ++++ resources/scripts/helpers/build/module/flashrom | 4 ++++ resources/scripts/helpers/build/module/grub | 4 ++++ resources/scripts/helpers/build/module/i945pwm | 4 ++++ resources/scripts/helpers/build/module/ich9deblob | 4 ++++ resources/scripts/helpers/build/module/memtest86plus | 4 ++++ 7 files changed, 28 insertions(+) (limited to 'resources/scripts/helpers/build/module') diff --git a/resources/scripts/helpers/build/module/bucts b/resources/scripts/helpers/build/module/bucts index 6c596dd7..34e1a37e 100755 --- a/resources/scripts/helpers/build/module/bucts +++ b/resources/scripts/helpers/build/module/bucts @@ -27,6 +27,8 @@ set -u -e # Build BUC.TS utility (needed for flashing ROM's on X60/T60 while Lenovo BIOS is running) # -------------------------------------------------------------------- +printf "Building bucts\n" + cd bucts/ buildtype="unknown" @@ -50,4 +52,6 @@ fi # done. go back to main directory cd ../ +printf "\n\n" + # ------------------- DONE ---------------------- diff --git a/resources/scripts/helpers/build/module/coreboot b/resources/scripts/helpers/build/module/coreboot index 3060e584..d9083a71 100755 --- a/resources/scripts/helpers/build/module/coreboot +++ b/resources/scripts/helpers/build/module/coreboot @@ -27,6 +27,8 @@ set -u -e # Build utilities needed in coreboot directory # -------------------------------------------------------------------- +printf "Building the utilities in coreboot\n" + cd coreboot # ----------------------------------------- @@ -54,4 +56,6 @@ make crossgcc-i386 # done. go back to main libreboot_src directory cd ../ +printf "\n\n" + # ------------------- DONE ---------------------- diff --git a/resources/scripts/helpers/build/module/flashrom b/resources/scripts/helpers/build/module/flashrom index 7fe0fa7d..a6cf6129 100755 --- a/resources/scripts/helpers/build/module/flashrom +++ b/resources/scripts/helpers/build/module/flashrom @@ -27,6 +27,8 @@ set -u -e # Build "flashrom" (utility for flashing/dumping ROM's) # -------------------------------------------------------------------- +printf "Building flashrom\n" + cd flashrom/ make clean @@ -78,5 +80,7 @@ mv flashrom_normal flashrom cd ../ +printf "\n\n" + # ------------------- DONE ---------------------- diff --git a/resources/scripts/helpers/build/module/grub b/resources/scripts/helpers/build/module/grub index 5138b476..73f36e72 100755 --- a/resources/scripts/helpers/build/module/grub +++ b/resources/scripts/helpers/build/module/grub @@ -27,6 +27,8 @@ set -u -e # Build utilies needed for building GRUB payloads # --------------------------------------------------------------------- +printf "Building GRUB\n" + cd grub/ # clean it first @@ -37,6 +39,8 @@ cd grub/ ./configure --with-platform=coreboot make +printf "\n\n" + # done. go back to main directory cd ../ diff --git a/resources/scripts/helpers/build/module/i945pwm b/resources/scripts/helpers/build/module/i945pwm index c70c37e1..657a7b42 100755 --- a/resources/scripts/helpers/build/module/i945pwm +++ b/resources/scripts/helpers/build/module/i945pwm @@ -27,6 +27,8 @@ set -u -e # Build i945-pwm utility # -------------------------------------------------------------------- +printf "Building i945-pwm\n" + cd resources/utilities/i945-pwm/ make clean @@ -36,4 +38,6 @@ make # done. go back to main directory cd ../../../ +printf "\n\n" + # ------------------- DONE ---------------------- diff --git a/resources/scripts/helpers/build/module/ich9deblob b/resources/scripts/helpers/build/module/ich9deblob index c0941ee3..25cf97b0 100755 --- a/resources/scripts/helpers/build/module/ich9deblob +++ b/resources/scripts/helpers/build/module/ich9deblob @@ -27,6 +27,8 @@ set -u -e # Build ich9deblob utility # -------------------------------------------------------------------- +printf "Building ich9deblob\n" + cd resources/utilities/ich9deblob # clean it first @@ -38,4 +40,6 @@ make # done. go back to main directory cd ../../../ +printf "\n\n" + # ------------------- DONE ---------------------- diff --git a/resources/scripts/helpers/build/module/memtest86plus b/resources/scripts/helpers/build/module/memtest86plus index 0b7686ee..d6f52ef0 100755 --- a/resources/scripts/helpers/build/module/memtest86plus +++ b/resources/scripts/helpers/build/module/memtest86plus @@ -27,6 +27,8 @@ set -u -e # Build MemTest86+ payload (for GRUB) # -------------------------------------------------------------------- +printf "Building MemTest86+\n" + cd "memtest86+-5.01"/ # clean it first @@ -38,4 +40,6 @@ make # done. go back to main directory cd ../ +printf "\n\n" + # ------------------- DONE ---------------------- -- cgit v1.2.3-70-g09d2