From 62a5f5438504bef7e190eae8aa6ee775ec9e801e Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 1 Jan 2024 17:57:35 +0000 Subject: 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 --- script/build/roms | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'script') 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 +# SPDX-FileCopyrightText: 2014-2016,2020,2021,2023,2024 Leah Rowe # SPDX-FileCopyrightText: 2021,2022 Ferass El Hafidi # SPDX-FileCopyrightText: 2022 Caleb La Grange # SPDX-FileCopyrightText: 2022-2023 Alper Nebi Yasak @@ -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 -- cgit v1.2.1