mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-14 23:39:33 +02:00
update/blobs: unify global variables
they all more or less use the same variables, so put them all under include/blobutil.sh Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -7,27 +7,7 @@
|
||||
|
||||
. "include/err.sh"
|
||||
. "include/defconfig.sh"
|
||||
|
||||
sname=""
|
||||
board=""
|
||||
vendor_rom=""
|
||||
|
||||
cbdir="coreboot/default"
|
||||
cbcfgsdir="config/coreboot"
|
||||
ifdtool="${cbdir}/util/ifdtool/ifdtool"
|
||||
mecleaner="me_cleaner/me_cleaner.py"
|
||||
me7updateparser="util/me7_update_parser/me7_update_parser.py"
|
||||
|
||||
boarddir=""
|
||||
|
||||
CONFIG_HAVE_MRC=""
|
||||
CONFIG_ME_BIN_PATH=""
|
||||
CONFIG_GBE_BIN_PATH=""
|
||||
CONFIG_IFD_BIN_PATH=""
|
||||
|
||||
_me_destination=""
|
||||
_gbe_destination=""
|
||||
_ifd_destination=""
|
||||
. "include/blobutil.sh"
|
||||
|
||||
main()
|
||||
{
|
||||
@@ -53,7 +33,7 @@ build_dependencies()
|
||||
./update project trees coreboot default || \
|
||||
err "build_dependencies: can't fetch coreboot"
|
||||
elif [ ! -f "${ifdtool}" ]; then
|
||||
make -C "${ifdtool%/ifdtool}" || \
|
||||
./build coreboot utils || \
|
||||
err "build_dependencies: can't build ifdtool"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user