mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
tree.sh: simplified srcdir check on make-clean
this is the check that ksips a given target if the tree directory does not exist, on the clean command. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+2
-3
@@ -112,9 +112,8 @@ handle_defconfig()
|
||||
chkvars tree
|
||||
srcdir="src/$project/$tree"
|
||||
|
||||
if [ "$mode" = "distclean" ] || [ "$mode" = "crossgcc-clean" ]; then
|
||||
[ -d "$srcdir" ] || return 0
|
||||
fi
|
||||
[ "$mode" = "${mode%clean}" ] && [ ! -d "$srcdir" ] && return 0
|
||||
|
||||
[ -z "$mode" ] && for _xarch in $xarch; do
|
||||
$dry check_cross_compiler "$_xarch"
|
||||
done; :
|
||||
|
||||
Reference in New Issue
Block a user