From 07037561bd6b40dfd5fce8f66affd64bd6dcdbe4 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 24 Dec 2024 16:58:23 +0000 Subject: 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 --- include/rom.sh | 4 ++-- include/vendor.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/rom.sh b/include/rom.sh index f21b6302..ec2ad650 100644 --- a/include/rom.sh +++ b/include/rom.sh @@ -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" } diff --git a/include/vendor.sh b/include/vendor.sh index d12d94e3..43f77f84 100644 --- a/include/vendor.sh +++ b/include/vendor.sh @@ -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 -- cgit v1.2.1