build/roms: rename two functions for clarity
Signed-off-by: Leah Rowe <leah@libreboot.org>9020vga
parent
746d9cadda
commit
38a7aa3196
|
@ -56,8 +56,8 @@ main()
|
||||||
eval "$(setvars "n" ${pv}) $(setvars "" ${v})"
|
eval "$(setvars "n" ${pv}) $(setvars "" ${v})"
|
||||||
grub_background="background1280x800.png"
|
grub_background="background1280x800.png"
|
||||||
board="${x}"
|
board="${x}"
|
||||||
check_target
|
configure_target
|
||||||
prepare_target
|
configure_dependencies
|
||||||
[ -d "bin/${board}" ] || continue
|
[ -d "bin/${board}" ] || continue
|
||||||
targets="* bin/${board}\n${targets}"
|
targets="* bin/${board}\n${targets}"
|
||||||
done
|
done
|
||||||
|
@ -70,7 +70,7 @@ main()
|
||||||
printf "DO NOT flash ROM images from elf/ - please use bin/ instead.\n"
|
printf "DO NOT flash ROM images from elf/ - please use bin/ instead.\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
check_target()
|
configure_target()
|
||||||
{
|
{
|
||||||
targetdir="${cfgsdir}/${board}"
|
targetdir="${cfgsdir}/${board}"
|
||||||
[ -f "${targetdir}/target.cfg" ] || \
|
[ -f "${targetdir}/target.cfg" ] || \
|
||||||
|
@ -119,7 +119,7 @@ check_target()
|
||||||
eval "payload_${_payload}=y"
|
eval "payload_${_payload}=y"
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare_target()
|
configure_dependencies()
|
||||||
{
|
{
|
||||||
romdir="bin/${board}"
|
romdir="bin/${board}"
|
||||||
cbdir="src/coreboot/${board}"
|
cbdir="src/coreboot/${board}"
|
||||||
|
|
Loading…
Reference in New Issue