summaryrefslogtreecommitdiff
path: root/script/build
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-04-25 19:03:43 +0100
committerLeah Rowe <leah@libreboot.org>2024-04-25 19:03:43 +0100
commitf5f2c58a0e06d629b28e2dfb14c5dcf169626568 (patch)
treed094faa02bf1f6940db50c3165025eb63bb8938e /script/build
parent02e4c0b28e348face651b273fd39b32618ebf17f (diff)
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>
Diffstat (limited to 'script/build')
-rwxr-xr-xscript/build/roms3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/build/roms b/script/build/roms
index 2510b1fd..5fdc05c9 100755
--- a/script/build/roms
+++ b/script/build/roms
@@ -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
}