build/roms: add missing deletion of tmp file

the temporary rom per build was not being deleted after
finishing the current target. this adds up in /tmp during
large builds, when building for many targets. fix this!

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2024-04-25 19:03:43 +01:00
parent 02e4c0b28e
commit f5f2c58a0e
+2 -1
View File
@@ -201,7 +201,8 @@ build_target_mainboard()
[ "$displaymode" != "txtmode" ] && continue
cbcfg="${targetdir}/config/${initmode}_${displaymode}"
[ "${initmode}" = "normal" ] && cbcfg="${cbcfg%_*}"
build_roms "${cbcfg}"
build_roms "${cbcfg}"
x_ rm -f "$cbrom"
done
done
}