summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-29 01:24:13 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-29 01:24:13 +0100
commit53b69f673c6e5699fc3880d4b7a7558d4b7247fe (patch)
treee0939fe9f916a8df4ac356caa335b7b805cb24af
parent55677d82171a7619eee5b84879484668ffcc5969 (diff)
vendor.sh: merge cfgutils() into readcfg()
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xinclude/vendor.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index 2f68449e..bd224f29 100755
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -40,8 +40,6 @@ getcfg()
set +u +e; . "$cbcfgfile" 2>/dev/null; set -u -e
done < "$TMPDIR/vendorcfg.list"
- cfgutils
-
for c in CONFIG_HAVE_MRC CONFIG_HAVE_ME_BIN CONFIG_KBC1126_FIRMWARE \
CONFIG_VGA_BIOS_FILE CONFIG_INCLUDE_SMSC_SCH5545_EC_FW; do
eval "[ \"\${$c}\" = \"/dev/null\" ] && continue"
@@ -230,7 +228,6 @@ vendor_inject()
done
check_board || return 0
- cfgutils
[ "$nukemode" = "nuke" ] || x_ ./vendor download $board
[ "$vrelease" != "y" ] && patch_rom "$rom"
[ "$vrelease" = "y" ] && patch_release_roms
@@ -289,10 +286,7 @@ readcfg()
boarddir="$cbcfgsdir/$board"
eval `setcfg "$boarddir/target.cfg"`
chkvars vcfg tree
-}
-cfgutils()
-{
cbdir="src/coreboot/$tree"
cbfstool="elf/cbfstool/$tree/cbfstool"
mecleaner="$PWD/$cbdir/util/me_cleaner/me_cleaner.py"