From 5f914a4d00da5ab9324c55eaecc40aa2ee000f63 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 1 Oct 2023 04:29:25 +0100 Subject: build/boot/roms: optimise main() for code size handle everything in the getopts loop Signed-off-by: Leah Rowe --- script/build/boot/roms | 4 ---- 1 file changed, 4 deletions(-) (limited to 'script/build/boot') 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 -- cgit v1.2.1