summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/clean
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-20 00:56:41 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-02-20 00:56:41 (EST)
commitb7859ce55b85f06133ffb4c85e34f5d25a84f0b3 (patch)
tree0ac0f92216f8110a45a80be29fd80060d1408738 /resources/scripts/helpers/build/clean
parenta4edcd82dc5405d8b58bf6ea2ddb6f928c059049 (diff)
downloadlibreboot-b7859ce55b85f06133ffb4c85e34f5d25a84f0b3.zip
libreboot-b7859ce55b85f06133ffb4c85e34f5d25a84f0b3.tar.gz
libreboot-b7859ce55b85f06133ffb4c85e34f5d25a84f0b3.tar.bz2
bash scripts: Make script output more user-friendly
Diffstat (limited to 'resources/scripts/helpers/build/clean')
-rwxr-xr-xresources/scripts/helpers/build/clean/bucts4
-rwxr-xr-xresources/scripts/helpers/build/clean/coreboot4
-rwxr-xr-xresources/scripts/helpers/build/clean/flashrom4
-rwxr-xr-xresources/scripts/helpers/build/clean/grub3
-rwxr-xr-xresources/scripts/helpers/build/clean/i945pwm2
-rwxr-xr-xresources/scripts/helpers/build/clean/ich9deblob2
-rwxr-xr-xresources/scripts/helpers/build/clean/memtest86plus4
-rwxr-xr-xresources/scripts/helpers/build/clean/rom_images2
8 files changed, 25 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/clean/bucts b/resources/scripts/helpers/build/clean/bucts
index f84cd58..80fe3a8 100755
--- a/resources/scripts/helpers/build/clean/bucts
+++ b/resources/scripts/helpers/build/clean/bucts
@@ -27,9 +27,13 @@ set -u -e
# clean bucts
# --------------------------------------------------------
+printf "Cleaning the previous build of bucts\n"
+
cd bucts/
make clean
+printf "\n\n"
+
# done. go back to main directory.
cd ../
diff --git a/resources/scripts/helpers/build/clean/coreboot b/resources/scripts/helpers/build/clean/coreboot
index 4af7391..d657aa3 100755
--- a/resources/scripts/helpers/build/clean/coreboot
+++ b/resources/scripts/helpers/build/clean/coreboot
@@ -27,6 +27,8 @@ set -u -e
# clean coreboot utilities (dependencies for 'build'):
# -------------------------------------------------------
+printf "Cleaning the previous build of the utilities in coreboot\n"
+
cd coreboot/
# ----------------------
@@ -59,4 +61,6 @@ make crossgcc-clean
# done. go back to main directory
cd ../
+printf "\n\n"
+
# ------------------- DONE ----------------------
diff --git a/resources/scripts/helpers/build/clean/flashrom b/resources/scripts/helpers/build/clean/flashrom
index 483ce4f..41f5d28 100755
--- a/resources/scripts/helpers/build/clean/flashrom
+++ b/resources/scripts/helpers/build/clean/flashrom
@@ -27,6 +27,8 @@ set -u -e
# clean flashrom
# --------------------------------------------------------
+printf "Cleaning the previous build of flashrom\n"
+
cd flashrom/
make clean
@@ -37,4 +39,6 @@ rm -f flashrom_lenovobios_macronix
# done. go back to main directory
cd ../
+printf "\n\n"
+
# ------------------- DONE ----------------------
diff --git a/resources/scripts/helpers/build/clean/grub b/resources/scripts/helpers/build/clean/grub
index b6e4f13..d59410a 100755
--- a/resources/scripts/helpers/build/clean/grub
+++ b/resources/scripts/helpers/build/clean/grub
@@ -29,9 +29,12 @@ set -u -e
cd grub/
+printf "Cleaning the previous build of GRUB\n"
[[ -f Makefile ]] && make clean
# done. go back to main directoy
cd ../
+printf "\n\n"
+
# ------------------- DONE ----------------------
diff --git a/resources/scripts/helpers/build/clean/i945pwm b/resources/scripts/helpers/build/clean/i945pwm
index fa9aecf..ff383e8 100755
--- a/resources/scripts/helpers/build/clean/i945pwm
+++ b/resources/scripts/helpers/build/clean/i945pwm
@@ -27,8 +27,10 @@ set -u -e
# clean i945-pwm utility
# --------------------------------------------------------------------
+printf "Cleaning the previous build of i945-pwm\n"
cd resources/utilities/i945-pwm
make clean
cd ../../../
+printf "\n\n"
# ------------------- DONE ----------------------
diff --git a/resources/scripts/helpers/build/clean/ich9deblob b/resources/scripts/helpers/build/clean/ich9deblob
index f3ee46a..04d971a 100755
--- a/resources/scripts/helpers/build/clean/ich9deblob
+++ b/resources/scripts/helpers/build/clean/ich9deblob
@@ -27,8 +27,10 @@ set -u -e
# clean ich9deblob utility
# --------------------------------------------------------------------
+printf "Cleaning the previous build of ich9deblob\n"
cd resources/utilities/ich9deblob/
make clean
cd ../../../
+printf "\n\n"
# ------------------- DONE ----------------------
diff --git a/resources/scripts/helpers/build/clean/memtest86plus b/resources/scripts/helpers/build/clean/memtest86plus
index 8d4ede6..3ad8130 100755
--- a/resources/scripts/helpers/build/clean/memtest86plus
+++ b/resources/scripts/helpers/build/clean/memtest86plus
@@ -27,6 +27,8 @@ set -u -e
# clean memtest86+
# --------------------------------------------------------
+printf "Cleaning the previous build of MemTest86+\n"
+
cd "memtest86+-5.01"/
make clean
@@ -34,4 +36,6 @@ make clean
# done. go back to main directory
cd ../
+printf "\n\n"
+
# ------------------- DONE ----------------------
diff --git a/resources/scripts/helpers/build/clean/rom_images b/resources/scripts/helpers/build/clean/rom_images
index 592b111..02833c3 100755
--- a/resources/scripts/helpers/build/clean/rom_images
+++ b/resources/scripts/helpers/build/clean/rom_images
@@ -30,4 +30,6 @@ set -u -e
# delete the bin/ directory
rm -rf bin/
+printf "Deleted the bin/ directory containing the ROM images.\n\n"
+
# ------------------- DONE ----------------------