diff options
author | Leah Rowe <leah@libreboot.org> | 2024-01-01 17:57:35 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-01-01 17:57:35 +0000 |
commit | 62a5f5438504bef7e190eae8aa6ee775ec9e801e (patch) | |
tree | cf7863840e7137c1472e313799141c7b06d4eae1 /script | |
parent | 042c7877e91032c46220609c8e8ab9df2f109ee3 (diff) |
build/roms: rename payload functions for clarity
they are functions that build payloads, so name them as
such. don't call them "dependencies" functions
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-x | script/build/roms | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/script/build/roms b/script/build/roms index 6825ff00..66e7039d 100755 --- a/script/build/roms +++ b/script/build/roms @@ -1,6 +1,6 @@ #!/usr/bin/env sh # SPDX-License-Identifier: GPL-3.0-or-later -# SPDX-FileCopyrightText: 2014-2016,2020,2021,2023 Leah Rowe <leah@libreboot.org> +# SPDX-FileCopyrightText: 2014-2016,2020,2021,2023,2024 Leah Rowe <leah@libreboot.org> # SPDX-FileCopyrightText: 2021,2022 Ferass El Hafidi <vitali64pmemail@protonmail.com> # SPDX-FileCopyrightText: 2022 Caleb La Grange <thonkpeasant@protonmail.com> # SPDX-FileCopyrightText: 2022-2023 Alper Nebi Yasak <alpernebiyasak@gmail.com> @@ -57,7 +57,7 @@ main() grub_background="background1280x800.png" board="${x}" configure_target - configure_dependencies + build_payloads [ -d "bin/${board}" ] || continue targets="* bin/${board}\n${targets}" done @@ -118,7 +118,7 @@ configure_target() eval "payload_${_payload}=y" } -configure_dependencies() +build_payloads() { romdir="bin/${board}" cbdir="src/coreboot/${board}" @@ -180,7 +180,7 @@ build_grub_payload() err "build_grub_elf: cannot build grub payload (grub-mkstandalone)" } -build_dependency_uboot() +build_uboot_payload() { [ "${payload_uboot}" = "y" ] || return 0 |