build/cbutils: rename variable for clarity

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe 2023-06-24 22:32:53 +01:00
parent 668a3ef450
commit 494c4d8dfe
1 changed files with 5 additions and 5 deletions

View File

@ -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"