diff options
author | Leah Rowe <leah@libreboot.org> | 2024-01-01 18:00:53 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-01-01 18:00:53 +0000 |
commit | 2d7e7306ff3213fee6f7a6178d6c135a3a41ec84 (patch) | |
tree | 4a4ee1cade6b6d4d15383bbc2474506babcbdcf0 /script/build | |
parent | 62a5f5438504bef7e190eae8aa6ee775ec9e801e (diff) |
build/roms: rename more functions for clarity
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/build')
-rwxr-xr-x | script/build/roms | 5 |
1 files changed, 3 insertions, 2 deletions
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}" |