summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-10-02 03:54:39 +0100
committerLeah Rowe <leah@libreboot.org>2023-10-02 03:54:39 +0100
commit7ce3f93e4492e583f5a27eb5cc66648fd2044f34 (patch)
tree64524c4329e57e8deefe4e1386f8243b4c543839 /include
parent7b02bb9aa6e533f30f25133caf9d214ca3d5bda2 (diff)
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>
Diffstat (limited to 'include')
-rwxr-xr-xinclude/boot.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/boot.sh b/include/boot.sh
index 9799039b..8570b3bc 100755
--- a/include/boot.sh
+++ b/include/boot.sh
@@ -26,7 +26,8 @@ main()
shift 2
done
- handle_targets
+ check_target
+ prepare_target
}
usage()