build/roms: properly print noblobs rom names

when printing the name of the rom being created, it's
done before the check to rename based on vendorfiles
in target.cfg. this patch fixes that bug.

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-10-31 22:04:33 +00:00
parent 42fde8e574
commit 65675a200c
1 changed files with 1 additions and 1 deletions

View File

@ -384,10 +384,10 @@ moverom() {
rompath="${1}"
newrom="${2}"
[ "${vendorfiles}" = "n" ] && newrom="${newrom%.rom}_noblobs.rom"
printf "Creating target image: %s\n" "${newrom}"
[ -d "${newrom%/*}" ] || x_ mkdir -p "${newrom%/*}/"
[ "${vendorfiles}" = "n" ] && newrom="${newrom%.rom}_noblobs.rom"
x_ modify_coreboot_rom
x_ cp "${rompath}" "${newrom}"