From 2d7e7306ff3213fee6f7a6178d6c135a3a41ec84 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 1 Jan 2024 18:00:53 +0000 Subject: build/roms: rename more functions for clarity Signed-off-by: Leah Rowe --- script/build/roms | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'script/build/roms') diff --git a/script/build/roms b/script/build/roms index 66e7039d..cf4404cc 100755 --- a/script/build/roms +++ b/script/build/roms @@ -58,6 +58,7 @@ main() board="${x}" configure_target build_payloads + build_target_mainboard [ -d "bin/${board}" ] || continue targets="* bin/${board}\n${targets}" done @@ -133,7 +134,7 @@ build_payloads() x_ ./update trees -b memtest86plus [ "$payload_seabios" = "y" ] && x_ ./update trees -b seabios - for bt in grub_payload dependency_uboot target; do + for bt in grub_payload dependency_uboot; do eval "build_${bt}" done } @@ -193,7 +194,7 @@ build_uboot_payload() err "Can't find u-boot build for board, $board"; } -build_target() +build_target_mainboard() { rm -f "${romdir}/"* || err "!prepare, rm files, ${romdir}" -- cgit v1.2.1