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>9020vga
parent
042c7877e9
commit
62a5f54385
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# 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: 2021,2022 Ferass El Hafidi <vitali64pmemail@protonmail.com>
|
||||||
# SPDX-FileCopyrightText: 2022 Caleb La Grange <thonkpeasant@protonmail.com>
|
# SPDX-FileCopyrightText: 2022 Caleb La Grange <thonkpeasant@protonmail.com>
|
||||||
# SPDX-FileCopyrightText: 2022-2023 Alper Nebi Yasak <alpernebiyasak@gmail.com>
|
# SPDX-FileCopyrightText: 2022-2023 Alper Nebi Yasak <alpernebiyasak@gmail.com>
|
||||||
|
@ -57,7 +57,7 @@ main()
|
||||||
grub_background="background1280x800.png"
|
grub_background="background1280x800.png"
|
||||||
board="${x}"
|
board="${x}"
|
||||||
configure_target
|
configure_target
|
||||||
configure_dependencies
|
build_payloads
|
||||||
[ -d "bin/${board}" ] || continue
|
[ -d "bin/${board}" ] || continue
|
||||||
targets="* bin/${board}\n${targets}"
|
targets="* bin/${board}\n${targets}"
|
||||||
done
|
done
|
||||||
|
@ -118,7 +118,7 @@ configure_target()
|
||||||
eval "payload_${_payload}=y"
|
eval "payload_${_payload}=y"
|
||||||
}
|
}
|
||||||
|
|
||||||
configure_dependencies()
|
build_payloads()
|
||||||
{
|
{
|
||||||
romdir="bin/${board}"
|
romdir="bin/${board}"
|
||||||
cbdir="src/coreboot/${board}"
|
cbdir="src/coreboot/${board}"
|
||||||
|
@ -180,7 +180,7 @@ build_grub_payload()
|
||||||
err "build_grub_elf: cannot build grub payload (grub-mkstandalone)"
|
err "build_grub_elf: cannot build grub payload (grub-mkstandalone)"
|
||||||
}
|
}
|
||||||
|
|
||||||
build_dependency_uboot()
|
build_uboot_payload()
|
||||||
{
|
{
|
||||||
[ "${payload_uboot}" = "y" ] || return 0
|
[ "${payload_uboot}" = "y" ] || return 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue