mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-13 14:59:34 +02:00
don't call blobutil directly from lbmk
it's bloat, and was only there for backwards compatibility with the old commands, but the new commands are e.g. ./update blobs inject instead of: ./blobutil inject this results in a slight code size reduction in lbmk Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -386,7 +386,7 @@ extract_ec()
|
||||
if [ ! -f ec.bin ]; then
|
||||
printf "could not extract ec.bin for board '%s'" ${board} \
|
||||
1>&2
|
||||
fail "aborting the build. please audit blobutil carefully."
|
||||
fail "aborting the build. please audit lbmk carefully."
|
||||
fi
|
||||
|
||||
"${kbc1126_ec_dump}" ec.bin
|
||||
|
||||
@@ -142,8 +142,8 @@ fail()
|
||||
|
||||
print_help()
|
||||
{
|
||||
printf "Usage: ./blobutil extract {boardname} {path/to/vendor_rom}\n"
|
||||
printf "Example: ./blobutil extract x230 12mb_flash.bin\n"
|
||||
printf "Usage: ./update blobs extract {boardname} {path/to/vendor_rom}\n"
|
||||
printf "Example: ./update blobs extract x230 12mb_flash.bin\n"
|
||||
printf "\nYou need to specify exactly 2 arguments\n"
|
||||
}
|
||||
|
||||
|
||||
@@ -151,7 +151,7 @@ build_dependencies()
|
||||
|
||||
./build module cbutils default || fail "could not build cbutils"
|
||||
|
||||
./blobutil download ${board} || \
|
||||
./update blobs download ${board} || \
|
||||
fail "Could not download blobs for ${board}"
|
||||
}
|
||||
|
||||
@@ -405,13 +405,13 @@ fail()
|
||||
usage()
|
||||
{
|
||||
cat <<- EOF
|
||||
USAGE: ./blobutil inject -r [rom path] -b [boardname] -m [macaddress]
|
||||
Example: ./blobutil inject -r x230_12mb.rom -b x230_12mb
|
||||
USAGE: ./update blobs inject -r [rom path] -b [boardname] -m [macaddress]
|
||||
Example: ./update blobs inject -r x230_12mb.rom -b x230_12mb
|
||||
|
||||
Adding a macadress to the gbe is optional.
|
||||
If the [-m] parameter is left blank, the gbe will not be touched.
|
||||
|
||||
Type './blobutil inject listboards' to get a list of valid boards
|
||||
Type './update blobs inject listboards' to get a list of valid boards
|
||||
EOF
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user