From 6725b616f328f44faa8c2a386875b54fc8144093 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 15 Sep 2026 20:24:08 +0100 Subject: [PATCH] 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 --- mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mk b/mk index ed2c666a..966b52e1 100755 --- a/mk +++ b/mk @@ -554,8 +554,9 @@ run_make_command() $if_build \ check_autoconf "$srcdir" - check_makefile "$srcdir" && \ - x_ make -C "$srcdir" $mode -j$XBMK_THREADS $makeargs + check_makefile "$srcdir" || return 1 + + x_ make -C "$srcdir" $mode -j$XBMK_THREADS $makeargs ) || err "run_make_file" "$@"