build/cbutils: rename variable for clarity

Signed-off-by: Leah Rowe <leah@libreboot.org>
fsdg20230625
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 [ ! -d "coreboot/" ] && exit 0
for board in coreboot/*; do for cbtree in coreboot/*; do
if [ "${board##*/}" = "coreboot" ]; then if [ "${cbtree##*/}" = "coreboot" ]; then
continue continue
fi fi
# Clean coreboot, of course # Clean coreboot, of course
make -C "${board}/" distclean make -C "${cbtree}/" distclean
# Clean its utilities as well # Clean its utilities as well
for util in cbfstool ifdtool nvramtool cbmem; do for util in cbfstool ifdtool nvramtool cbmem; do
make -C "${board}/util/${util}/" clean make -C "${cbtree}/util/${util}/" clean
done done
make -C "${board}/payloads/libpayload/" distclean make -C "${cbtree}/payloads/libpayload/" distclean
done done
printf "\n\n" printf "\n\n"