summaryrefslogtreecommitdiff
path: root/script/build/boot
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-10-01 04:29:25 +0100
committerLeah Rowe <leah@libreboot.org>2023-10-01 04:30:02 +0100
commit5f914a4d00da5ab9324c55eaecc40aa2ee000f63 (patch)
tree45dc586f9c38e4fbfdd2cb594fef1548aa5563d3 /script/build/boot
parent92c6da7b210d760693d2f36c457ea96eeaf8d7a2 (diff)
build/boot/roms: optimise main() for code size
handle everything in the getopts loop Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/build/boot')
-rwxr-xr-xscript/build/boot/roms4
1 files changed, 0 insertions, 4 deletions
diff --git a/script/build/boot/roms b/script/build/boot/roms
index 29f53dda..edecfc6b 100755
--- a/script/build/boot/roms
+++ b/script/build/boot/roms
@@ -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