summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rwxr-xr-xscript/roms5
1 files changed, 1 insertions, 4 deletions
diff --git a/script/roms b/script/roms
index 99f53e00..ea2f4b26 100755
--- a/script/roms
+++ b/script/roms
@@ -184,16 +184,13 @@ build_board()
[ "$displaymode" != "txtmode" ] && continue
cbcfg="$targetdir/config/${initmode}_$displaymode"
[ "$initmode" = "normal" ] && cbcfg="${cbcfg%_*}"
- build_roms "$cbcfg"; x_ rm -f "$cbrom"
+ e "$cbcfg" f not || build_roms; x_ rm -f "$cbrom"
done
done
}
build_roms()
{
- cbcfg="$1"
- e "$cbcfg" f not && return 0
-
x_ ./update trees -b coreboot $board
_cbrom="elf/coreboot_nopayload_DO_NOT_FLASH"