build/boot/*: unify more logic in main()

slight sloccount reduction. light renaming of
functions between the two scripts, placing more
logic in main() under include/boot.sh

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-10-02 03:54:39 +01:00
parent 7b02bb9aa6
commit 7ce3f93e44
3 changed files with 14 additions and 25 deletions
+2 -1
View File
@@ -26,7 +26,8 @@ main()
shift 2
done
handle_targets
check_target
prepare_target
}
usage()