mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-09-19 21:20:31 +02:00
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:
@@ -32,6 +32,7 @@ cd "${commandv%/*}" || exit 1
|
|||||||
. "include/fw/inject.sh"
|
. "include/fw/inject.sh"
|
||||||
. "include/fw/rom.sh"
|
. "include/fw/rom.sh"
|
||||||
|
|
||||||
|
. "include/mk/tree.sh"
|
||||||
. "include/mk/release.sh"
|
. "include/mk/release.sh"
|
||||||
|
|
||||||
_f="${1-}"
|
_f="${1-}"
|
||||||
@@ -40,12 +41,9 @@ shift 1 2>/dev/null || :
|
|||||||
eval "$(printf "version release download inject\n" | awk '{ for (i=1; i<=NF; \
|
eval "$(printf "version release download inject\n" | awk '{ for (i=1; i<=NF; \
|
||||||
i++) $i = "[ \""$i"\" = \"$_f\" ] && x_ "$i" \"$@\" && exit 0;"; print }')"
|
i++) $i = "[ \""$i"\" = \"$_f\" ] && x_ "$i" \"$@\" && exit 0;"; print }')"
|
||||||
|
|
||||||
. "include/mk/tree.sh"
|
|
||||||
|
|
||||||
trees "$_f" "$@" || exit 0
|
trees "$_f" "$@" || exit 0
|
||||||
|
|
||||||
x_ touch "$mkhelpercfg"
|
x_ touch "$mkhelpercfg"
|
||||||
|
|
||||||
. "$mkhelpercfg"
|
. "$mkhelpercfg"
|
||||||
$cmd
|
$cmd
|
||||||
|
|
||||||
) || exit 1; :
|
) || exit 1; :
|
||||||
|
|||||||
Reference in New Issue
Block a user