summaryrefslogtreecommitdiff
path: root/resources/scripts/build/clean/cbutils
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-06-24 22:32:53 +0100
committerLeah Rowe <leah@libreboot.org>2023-06-24 22:32:53 +0100
commit494c4d8dfebc023a083498e2639db191bb9c1e4f (patch)
treef8c015a758c09d85d842f3a7a9af6a9e8a3aa0ec /resources/scripts/build/clean/cbutils
parent668a3ef4507cdfef8bc29b4c7ee70821a5008d0a (diff)
build/cbutils: rename variable for clarity
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/scripts/build/clean/cbutils')
-rwxr-xr-xresources/scripts/build/clean/cbutils10
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/scripts/build/clean/cbutils b/resources/scripts/build/clean/cbutils
index 0c0df0d3..b74ed9a8 100755
--- a/resources/scripts/build/clean/cbutils
+++ b/resources/scripts/build/clean/cbutils
@@ -30,18 +30,18 @@ printf "Cleaning the previous build of coreboot and its utilities\n"
[ ! -d "coreboot/" ] && exit 0
-for board in coreboot/*; do
- if [ "${board##*/}" = "coreboot" ]; then
+for cbtree in coreboot/*; do
+ if [ "${cbtree##*/}" = "coreboot" ]; then
continue
fi
# Clean coreboot, of course
- make -C "${board}/" distclean
+ make -C "${cbtree}/" distclean
# Clean its utilities as well
for util in cbfstool ifdtool nvramtool cbmem; do
- make -C "${board}/util/${util}/" clean
+ make -C "${cbtree}/util/${util}/" clean
done
- make -C "${board}/payloads/libpayload/" distclean
+ make -C "${cbtree}/payloads/libpayload/" distclean
done
printf "\n\n"