mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-18 14:12:44 +02:00
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>
This commit is contained in:
@@ -11,6 +11,6 @@ v="$v displaymode tmprom newrom payload_uboot"
|
|||||||
eval `setvars "n" $pv`
|
eval `setvars "n" $pv`
|
||||||
eval `setvars "" $v`
|
eval `setvars "" $v`
|
||||||
|
|
||||||
premake="mkvendorfiles"
|
premake="corebootpremake"
|
||||||
mkhelper="mkcorebootbin"
|
mkhelper="mkcorebootbin"
|
||||||
postmake="mkcoreboottar"
|
postmake="mkcoreboottar"
|
||||||
|
|||||||
+1
-1
@@ -43,7 +43,7 @@ mkpayload_grub()
|
|||||||
"/boot/grub/grub.cfg=$grubdata/memdisk.cfg"; :
|
"/boot/grub/grub.cfg=$grubdata/memdisk.cfg"; :
|
||||||
}
|
}
|
||||||
|
|
||||||
mkvendorfiles()
|
corebootpremake()
|
||||||
{
|
{
|
||||||
[ -n "$mode" ] || [ ! -f "$srcdir/.config" ] || $dry printf \
|
[ -n "$mode" ] || [ ! -f "$srcdir/.config" ] || $dry printf \
|
||||||
"CONFIG_CCACHE=y\n" >> "$srcdir/.config" || err "$srcdir: !cook"; :
|
"CONFIG_CCACHE=y\n" >> "$srcdir/.config" || err "$srcdir: !cook"; :
|
||||||
|
|||||||
Reference in New Issue
Block a user