aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/module
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-20 05:56:41 +0000
committerFrancis Rowe <info@gluglug.org.uk>2015-02-20 05:56:41 +0000
commitb7859ce55b85f06133ffb4c85e34f5d25a84f0b3 (patch)
tree0ac0f92216f8110a45a80be29fd80060d1408738 /resources/scripts/helpers/build/module
parenta4edcd82dc5405d8b58bf6ea2ddb6f928c059049 (diff)
downloadlibrebootfr-b7859ce55b85f06133ffb4c85e34f5d25a84f0b3.tar.gz
librebootfr-b7859ce55b85f06133ffb4c85e34f5d25a84f0b3.zip
bash scripts: Make script output more user-friendly
Diffstat (limited to 'resources/scripts/helpers/build/module')
-rwxr-xr-xresources/scripts/helpers/build/module/bucts4
-rwxr-xr-xresources/scripts/helpers/build/module/coreboot4
-rwxr-xr-xresources/scripts/helpers/build/module/flashrom4
-rwxr-xr-xresources/scripts/helpers/build/module/grub4
-rwxr-xr-xresources/scripts/helpers/build/module/i945pwm4
-rwxr-xr-xresources/scripts/helpers/build/module/ich9deblob4
-rwxr-xr-xresources/scripts/helpers/build/module/memtest86plus4
7 files changed, 28 insertions, 0 deletions
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 ----------------------