summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-12-24 06:02:12 +0000
committerLeah Rowe <leah@libreboot.org>2023-12-24 06:02:12 +0000
commit38a7aa3196e25627df2d9e089b00421b9194f7b6 (patch)
treed4728aaea4660bf0af2cb78010c546f79a563ef0 /script
parent746d9cadda36c1f5028b009543b0ae33dd6b06ff (diff)
build/roms: rename two functions for clarity
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/build/roms8
1 files changed, 4 insertions, 4 deletions
diff --git a/script/build/roms b/script/build/roms
index 834a2fdd..e3378e75 100755
--- a/script/build/roms
+++ b/script/build/roms
@@ -56,8 +56,8 @@ main()
eval "$(setvars "n" ${pv}) $(setvars "" ${v})"
grub_background="background1280x800.png"
board="${x}"
- check_target
- prepare_target
+ configure_target
+ configure_dependencies
[ -d "bin/${board}" ] || continue
targets="* bin/${board}\n${targets}"
done
@@ -70,7 +70,7 @@ main()
printf "DO NOT flash ROM images from elf/ - please use bin/ instead.\n"
}
-check_target()
+configure_target()
{
targetdir="${cfgsdir}/${board}"
[ -f "${targetdir}/target.cfg" ] || \
@@ -119,7 +119,7 @@ check_target()
eval "payload_${_payload}=y"
}
-prepare_target()
+configure_dependencies()
{
romdir="bin/${board}"
cbdir="src/coreboot/${board}"