From 645002ac2b63f953e8bcf9894a5482e449e72342 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 20 Sep 2026 21:52:06 +0100 Subject: mk: allow same tree/target dry builds otherwise, -d coreboot default dosen't work for example, which prevents building coreboot utils. Signed-off-by: Leah Rowe --- mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mk b/mk index b063fb7b..372b7ab9 100755 --- a/mk +++ b/mk @@ -203,7 +203,7 @@ handle_target() # if using configs, we never build from the master target [ "$noconfig" != "y" ] && [ "$tree" = "$target" ] && \ - return 0 + $if_not_dry_build return 0 $if_build $if_not_fetch \ x_ $postmake; : @@ -249,7 +249,7 @@ configure_target() [ ! -f "CHANGELOG" ] && x_ fetch_trees; : [ "$noconfig" != "y" ] && [ "$tree" = "$target" ] && \ - return 1; : + $if_not_dry_build return 1; : } try_target_config() @@ -298,7 +298,7 @@ mk_dependencies() handle_buildcfg() { [ "$noconfig" != "y" ] && [ "$tree" = "$target" ] && \ - return 0 + $if_not_dry_build return 0 [ ! -d "$srcdir" ] || for y in "$defscan"/* do -- cgit v1.2.1