summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-05-20 18:00:31 +0100
committerLeah Rowe <leah@libreboot.org>2023-05-20 18:00:31 +0100
commited9eb4624ccdddb4767e8755fae166fb527ce65b (patch)
tree0cc3d03f1f19e29a2f284e9cf293548d182aa7de
parentb12dced470a8e256425e35f97e830747c673802b (diff)
build/cbutils: rename function for clarity
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xresources/scripts/build/module/cbutils6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/scripts/build/module/cbutils b/resources/scripts/build/module/cbutils
index 504f7e8a..1cd5c930 100755
--- a/resources/scripts/build/module/cbutils
+++ b/resources/scripts/build/module/cbutils
@@ -27,17 +27,17 @@ main()
{
if [ $# -gt 0 ]; then
for board in "${@}"; do
- buildfromboardconfig ${board} || exit 1
+ build_for_mainboard ${board} || exit 1
done
else
for boarddir in resources/coreboot/*; do
[ ! -d "${boarddir}" ] && continue
- buildfromboardconfig ${boarddir##*/} || exit 1
+ build_for_mainboard ${boarddir##*/} || exit 1
done
fi
}
-buildfromboardconfig() {
+build_for_mainboard() {
board="${1}"
[ ! -d "resources/coreboot/${board}" ] && \
continue