rom.sh: rename mkvendorfiles

it mainly does general tasks, like handling utils
and enabling ccache. the vfiles are a small part.

rename the function accordingly. it is called by
premake, so let's call it corebootpremake.

this change will also make sense when cherry-picked
into cbmk, which does not handle vfiles at all.

Signed-off-by: Leah Rowe <leah@libreboot.org>
25.06_branch
Leah Rowe 2025-05-25 04:45:23 +01:00
parent 00ab60e762
commit 0854e99cfe
2 changed files with 2 additions and 2 deletions

View File

@ -11,6 +11,6 @@ v="$v displaymode tmprom newrom payload_uboot"
eval `setvars "n" $pv`
eval `setvars "" $v`
premake="mkvendorfiles"
premake="corebootpremake"
mkhelper="mkcorebootbin"
postmake="mkcoreboottar"

View File

@ -43,7 +43,7 @@ mkpayload_grub()
"/boot/grub/grub.cfg=$grubdata/memdisk.cfg"; :
}
mkvendorfiles()
corebootpremake()
{
[ -n "$mode" ] || [ ! -f "$srcdir/.config" ] || $dry printf \
"CONFIG_CCACHE=y\n" >> "$srcdir/.config" || err "$srcdir: !cook"; :