summaryrefslogtreecommitdiff
path: root/script/build/boot
diff options
context:
space:
mode:
Diffstat (limited to 'script/build/boot')
-rwxr-xr-xscript/build/boot/roms5
1 files changed, 2 insertions, 3 deletions
diff --git a/script/build/boot/roms b/script/build/boot/roms
index 72bd2f3d..96472329 100755
--- a/script/build/boot/roms
+++ b/script/build/boot/roms
@@ -58,14 +58,13 @@ handle_targets()
err "handle_targets: Cannot get list of boards"
for board in ${boards}; do
- buildrom "${board}" || err "handle_targets: build error"
+ build_target "${board}" || err "handle_targets: build error"
[ -d "bin/${board}" ] && targets="${board} ${targets}"
done
confirm_targets
}
-# Build ROM images for supported boards
-buildrom() {
+build_target() {
[ -d "config/coreboot/${1}/" ] || \
err "build/roms: target not defined: ${1}"
./build boot roms_helper ${1}${opts} || return 1