mk: put all includes in one place

the previous design flaw was fixed by recent
refactors, such that i can now . include all
of lbmk at once, and have control logic right
after that.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-09-14 00:14:55 +01:00
parent 5fb0d1098f
commit 823a1fd011
+2 -4
View File
@@ -32,6 +32,7 @@ cd "${commandv%/*}" || exit 1
. "include/fw/inject.sh"
. "include/fw/rom.sh"
. "include/mk/tree.sh"
. "include/mk/release.sh"
_f="${1-}"
@@ -40,12 +41,9 @@ shift 1 2>/dev/null || :
eval "$(printf "version release download inject\n" | awk '{ for (i=1; i<=NF; \
i++) $i = "[ \""$i"\" = \"$_f\" ] && x_ "$i" \"$@\" && exit 0;"; print }')"
. "include/mk/tree.sh"
trees "$_f" "$@" || exit 0
x_ touch "$mkhelpercfg"
. "$mkhelpercfg"
$cmd
) || exit 1; :