From 0854e99cfe0f3e9dc47f59667ef7a84c563f0300 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 25 May 2025 04:45:23 +0100 Subject: [PATCH] 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 --- config/data/coreboot/mkhelper.cfg | 2 +- include/rom.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/data/coreboot/mkhelper.cfg b/config/data/coreboot/mkhelper.cfg index 630654a..da9015f 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 bdcadc8..8ed3c96 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"; :