summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-09-16 11:21:56 +0100
committerLeah Rowe <leah@libreboot.org>2026-09-16 11:21:56 +0100
commit2dc01a93b94d5bda83391534b3d49f24bbc1de9b (patch)
tree9c60c2db1055c5bcf7857d4182fef3cc1513e206 /mk
parentcebae0ed80dd6e7a2db80797740e3c880750d5ec (diff)
mk: tidy up xbmk_sanitize_version
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'mk')
-rwxr-xr-xmk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk b/mk
index 0c30e6ab..51553a7c 100755
--- a/mk
+++ b/mk
@@ -216,7 +216,6 @@ multi_tree_build()
target="${x##*/}"
x_ handle_defconfig
-
$if_build \
x_ $postmake; :
done; :
@@ -337,8 +336,10 @@ build_dependencies()
$if_not_dry_build \
err "$project/$tree: !bd '$bd'" \
"build_dependencies" "$@"
+
[ "${bd##*/}" = "$bd" ] && \
bd_tree=""
+
[ -n "$bd_project" ] && \
$if_not_dry_build \
x_ "$mk" -b $bd_project $bd_tree; :
@@ -525,7 +526,7 @@ check_autoconf()
[ -f "configure" ] && \
x_ ./configure $configureargs; :
- ) || err "can't bootstrap project: $1" "check_autoconf" "$@"; :
+ ) || err "can't bootstrap project: $1" check_autoconf "$@"; :
}
check_makefile()