summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-25 04:45:23 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-25 04:46:08 +0100
commita47e98117235682e9d1744ddbf1d16523532d96a (patch)
treee3f09be56de70740f101a1e1575c4616c423dd98
parentd2e148fdd9d3f341940c22c241d219a0372f8f57 (diff)
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>
-rw-r--r--config/data/coreboot/mkhelper.cfg2
-rw-r--r--include/rom.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/data/coreboot/mkhelper.cfg b/config/data/coreboot/mkhelper.cfg
index 630654a0..da9015f1 100644
--- a/config/data/coreboot/mkhelper.cfg
+++ b/config/data/coreboot/mkhelper.cfg
@@ -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"
diff --git a/include/rom.sh b/include/rom.sh
index 4a3503f4..632ecca3 100644
--- a/include/rom.sh
+++ b/include/rom.sh
@@ -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"; :