mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-09-19 21:20:31 +02:00
mk: optimise make-clean check
only check makefiles if if_not_make_clean is set this avoids unnecessary disk usage Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -567,10 +567,10 @@ run_make_command()
|
|||||||
$if_build \
|
$if_build \
|
||||||
x_ $mkhelper
|
x_ $mkhelper
|
||||||
|
|
||||||
check_makefile "$srcdir" || \
|
$if_not_make_clean \
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
$if_not_make_clean \
|
check_makefile "$srcdir" || \
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
make -C "$srcdir" $cleanargs distclean || \
|
make -C "$srcdir" $cleanargs distclean || \
|
||||||
|
|||||||
Reference in New Issue
Block a user