build/boot/roms: rename buildrom to build_target

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-09-30 13:06:56 +01:00
parent fc097b3e0f
commit 5462bf1ca0
1 changed files with 2 additions and 3 deletions

View File

@ -58,14 +58,13 @@ handle_targets()
err "handle_targets: Cannot get list of boards" err "handle_targets: Cannot get list of boards"
for board in ${boards}; do 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}" [ -d "bin/${board}" ] && targets="${board} ${targets}"
done done
confirm_targets confirm_targets
} }
# Build ROM images for supported boards build_target() {
buildrom() {
[ -d "config/coreboot/${1}/" ] || \ [ -d "config/coreboot/${1}/" ] || \
err "build/roms: target not defined: ${1}" err "build/roms: target not defined: ${1}"
./build boot roms_helper ${1}${opts} || return 1 ./build boot roms_helper ${1}${opts} || return 1