summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-10-31 22:04:33 +0000
committerLeah Rowe <leah@libreboot.org>2023-10-31 22:04:33 +0000
commit65675a200c821268bbe206d480f4da96567a0334 (patch)
treee762e0a33fac2a4817b61b960db32f07a9966293
parent42fde8e5749752bed3eef641fb2ca5f8856262e9 (diff)
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>
-rwxr-xr-xscript/build/roms2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/build/roms b/script/build/roms
index f19f7328..f4356764 100755
--- a/script/build/roms
+++ b/script/build/roms
@@ -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}"