summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-09-15 19:03:39 +0100
committerLeah Rowe <leah@libreboot.org>2026-09-15 19:03:39 +0100
commitf7b9c9e410e48cdeaf2abf821f42496eab322f11 (patch)
treebb756e16fba2f8c2c078159ee31401e61c9ae416
parent4878cec84d3dc48f03f92156c9d09240829e51a9 (diff)
mk: tidy up run_make_command
yeah, this reverses the last change Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xmk8
1 files changed, 3 insertions, 5 deletions
diff --git a/mk b/mk
index 40612370..602c91c1 100755
--- a/mk
+++ b/mk
@@ -567,14 +567,12 @@ run_make_command()
$if_build \
x_ $mkhelper
- $if_not_make_clean \
- return 0
-
check_makefile "$srcdir" || \
return 0
- make -C "$srcdir" $cleanargs distclean || \
- x_ make -C "$srcdir" $cleanargs clean; :
+ $if_make_clean \
+ make -C "$srcdir" $cleanargs distclean || \
+ x_ make -C "$srcdir" $cleanargs clean; :
}
check_cmake()