mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-19 00:03:45 +02:00
build/clean/u-boot: improved coding style
tabs for indentation simplify some checks
This commit is contained in:
@@ -33,17 +33,14 @@ printf "Cleaning u-boot builds for all boards\n"
|
|||||||
|
|
||||||
# clean u-boot (source archives preserved)
|
# clean u-boot (source archives preserved)
|
||||||
for board in u-boot/*; do
|
for board in u-boot/*; do
|
||||||
if [ "${board##*/}" = "u-boot" ]; then
|
if [ "${board##*/}" = "u-boot" ] || [ ! -d "${board}" ]; then
|
||||||
continue
|
|
||||||
fi
|
|
||||||
if [ ! -d "${board}" ]; then
|
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
make -C "${board}/" distclean
|
make -C "${board}/" distclean
|
||||||
|
|
||||||
if [ -e "${board}/.git" ]; then
|
[ -e "${board}/.git" ] && \
|
||||||
git -C "${board}" clean -fdx
|
git -C "${board}" clean -fdx
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
||||||
printf "\n\n"
|
printf "\n\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user