mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
build/boot/roms: optimise main() for code size
handle everything in the getopts loop Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -13,7 +13,6 @@ set -u -e
|
||||
. "include/boot.sh"
|
||||
|
||||
read projectname < projectname
|
||||
targets=""
|
||||
|
||||
# main() is in include/boot.sh
|
||||
|
||||
@@ -25,9 +24,6 @@ handle_targets()
|
||||
|
||||
printf "Building %s ROM images\n" "${projectname}"
|
||||
|
||||
[ "${first}" != "all" ] || boards="$(listitems config/coreboot)" || \
|
||||
err "handle_targets: Cannot get list of boards"
|
||||
|
||||
check_targets
|
||||
build_bootroms
|
||||
confirm_targets
|
||||
|
||||
Reference in New Issue
Block a user