lbmk: remove use of deprecated ./vendor command

use ./mk instead, because in a future change to lbmk,
only ./mk will be used and the other commands will
be removed.

with this change, the ./vendor, ./build and ./update
commands are no longer used. these commands still work,
for backwards compatibility, but they are deprecated.

Signed-off-by: Leah Rowe <leah@libreboot.org>
20241206_branch
Leah Rowe 2024-12-24 16:58:23 +00:00
parent 5d1f182306
commit 07037561bd
2 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ mkvendorfiles()
printf "%s\n" "${version%%-*}" > "$srcdir/.coreboot-version" || \
$err "!mk $srcdir .coreboot-version"
[ -z "$mode" ] && [ "$target" != "$tree" ] && \
x_ ./vendor download $target; return 0
x_ ./mk download $target; return 0
}
cook_coreboot_config()
@ -247,7 +247,7 @@ cprom()
cbfs "$newrom" "config/data/grub/bootorder_uboot" "bootorder" raw
[ "$XBMK_RELEASE" = "y" ] || return 0
$dry mksha512sum "$newrom" "vendorhashes"; $dry ./vendor inject \
$dry mksha512sum "$newrom" "vendorhashes"; $dry ./mk inject \
-r "$newrom" -b "$target" -n nuke || $err "!nuke $newrom"
}

View File

@ -272,7 +272,7 @@ vendor_inject()
done
check_board || return 0
[ "$nukemode" = "nuke" ] || x_ ./vendor download $board
[ "$nukemode" = "nuke" ] || x_ ./mk download $board
if [ "$vrelease" = "y" ]; then
patch_release_roms
else