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>
audit2-merge1
Leah Rowe 2024-04-25 19:03:43 +01:00 committed by Leah Rowe
parent a1ac872240
commit c8bb465d1a
1 changed files with 2 additions and 1 deletions

View File

@ -202,6 +202,7 @@ build_target_mainboard()
cbcfg="${targetdir}/config/${initmode}_${displaymode}" cbcfg="${targetdir}/config/${initmode}_${displaymode}"
[ "${initmode}" = "normal" ] && cbcfg="${cbcfg%_*}" [ "${initmode}" = "normal" ] && cbcfg="${cbcfg%_*}"
build_roms "${cbcfg}" build_roms "${cbcfg}"
x_ rm -f "$cbrom"
done done
done done
} }