From ed9eb4624ccdddb4767e8755fae166fb527ce65b Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 20 May 2023 18:00:31 +0100 Subject: build/cbutils: rename function for clarity Signed-off-by: Leah Rowe --- resources/scripts/build/module/cbutils | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'resources/scripts/build') 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 -- cgit v1.2.1