summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-12-24 16:58:23 +0000
committerLeah Rowe <leah@libreboot.org>2024-12-24 16:58:23 +0000
commit07037561bd6b40dfd5fce8f66affd64bd6dcdbe4 (patch)
tree803a70e0ce3b1de9e693a3dac746a5257bcfc2a2
parent5d1f1823067d81867ab226a4d0e7c515e6a56e6a (diff)
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>
-rw-r--r--include/rom.sh4
-rw-r--r--include/vendor.sh2
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