mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-18 04:22:15 +02:00
tree.sh: Don't run make-clean on dry runs
Otherwise, ./mk -d (without arguments) fails for GRUB, which first requires running autoconf to get a Makefile. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+2
-1
@@ -275,7 +275,8 @@ elfcheck()
|
|||||||
|
|
||||||
handle_makefile()
|
handle_makefile()
|
||||||
{
|
{
|
||||||
$dry check_makefile "$srcdir" && x_ make -C "$srcdir" $cleanargs clean
|
$dry check_makefile "$srcdir" && \
|
||||||
|
$dry x_ make -C "$srcdir" $cleanargs clean
|
||||||
|
|
||||||
[ -f "$defconfig" ] && x_ cp "$defconfig" "$srcdir/.config"
|
[ -f "$defconfig" ] && x_ cp "$defconfig" "$srcdir/.config"
|
||||||
[ -n "$mode" ] || [ -n "$btype" ] || $dry make -C \
|
[ -n "$mode" ] || [ -n "$btype" ] || $dry make -C \
|
||||||
|
|||||||
Reference in New Issue
Block a user