summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-09-16 07:25:31 +0100
committerLeah Rowe <leah@libreboot.org>2026-09-16 07:25:31 +0100
commitca550770320ef4ce188538331b21587452684c2c (patch)
tree4a4862812b3717194d75efb4a9d8ec6d45a5049d
parent113dac006f65a468a09570e8dc9cde94cde3a7bd (diff)
mk: tidy up check_cmake
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xmk6
1 files changed, 2 insertions, 4 deletions
diff --git a/mk b/mk
index 0c44cc30..0cc15ec2 100755
--- a/mk
+++ b/mk
@@ -522,7 +522,8 @@ run_make_command()
run_make_command_real()
{
- x_ check_cmake "$srcdir"
+ $if_not_dry_build
+ x_ check_cmake "$srcdir"
$if_build \
check_autoconf "$srcdir"
@@ -534,9 +535,6 @@ run_make_command_real()
check_cmake()
{
- $if_dry_build \
- return 0
-
[ -z "$cmakedir" ] && \
return 0