summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-09-15 20:58:40 +0100
committerLeah Rowe <leah@libreboot.org>2026-09-15 20:58:40 +0100
commit50eec6d485bd1307cfd2c4ab3a172f50c430d95d (patch)
treeb055e84e79cad97ab5b43f2e3cb13ee16ddcd9d1 /mk
parent40b1a3e0bb3dc918c5a7177b48f3e307f098b276 (diff)
mk: simplify single_tree_build
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'mk')
-rwxr-xr-xmk9
1 files changed, 3 insertions, 6 deletions
diff --git a/mk b/mk
index 13d623d9..52497639 100755
--- a/mk
+++ b/mk
@@ -195,12 +195,9 @@ single_tree_build()
$if_not_dry_build elfcheck || \
return 0
- run_make_command || \
- return 0
-
- $if_build \
- $if_not_dry_build \
- copy_elf; :
+ run_make_command && \
+ $if_build $if_not_dry_build \
+ copy_elf; :
}
multi_tree_build()