summaryrefslogtreecommitdiff
path: root/include/lib.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-06 22:17:16 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-06 22:17:16 +0100
commitd41658f17ec7c0bc62d0ac3e46ea2928f8bfdaf3 (patch)
tree765609135a6ca7d8891e6ce0eb8a13386dd6965b /include/lib.sh
parentc0822ac458fc7b0f2630c1cff208bd5066efbc6b (diff)
move handle_coreboot_utils to script/trees
it doesn't really make sense placed in lib.sh, because it's only called from script/trees Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/lib.sh')
-rwxr-xr-xinclude/lib.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/lib.sh b/include/lib.sh
index eed75e2a..4ae4ad5b 100755
--- a/include/lib.sh
+++ b/include/lib.sh
@@ -154,22 +154,6 @@ check_defconfig()
done
}
-handle_coreboot_utils()
-{
- for util in cbfstool ifdtool; do
- utilelfdir="elf/$util/$1"
- utilsrcdir="src/coreboot/$1/util/$util"
-
- utilmode=""
- [ -z "$mode" ] || utilmode="clean"
- x_ make -C "$utilsrcdir" $utilmode
- [ -z "$mode" ] && [ ! -f "$utilelfdir/$util" ] && \
- x_ mkdir -p "$utilelfdir" && \
- x_ cp "$utilsrcdir/$util" "elf/$util/$1"
- [ -z "$mode" ] || x_ rm -Rf "$utilelfdir"
- done
-}
-
remkdir()
{
rm -Rf "$1" || $err "remkdir: !rm -Rf \"$1\""