mk: skip build if makefile check fails

this was the previous behaviour, and prevents
single-tree builds from proceeding with
use of copy_elf

otherwise you get a bunch of build errors

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-09-15 20:24:08 +01:00
parent 7507655d34
commit 6725b616f3
+3 -2
View File
@@ -554,8 +554,9 @@ run_make_command()
$if_build \ $if_build \
check_autoconf "$srcdir" check_autoconf "$srcdir"
check_makefile "$srcdir" && \ check_makefile "$srcdir" || return 1
x_ make -C "$srcdir" $mode -j$XBMK_THREADS $makeargs
x_ make -C "$srcdir" $mode -j$XBMK_THREADS $makeargs
) || err "run_make_file" "$@" ) || err "run_make_file" "$@"