build/roms: don't rely on x in handle_target
x is part of the for loop in main() and may or not still be available from handle_target, depending on your implementation of sh, but this should not be assumed do it properly Signed-off-by: Leah Rowe <leah@libreboot.org>20240612_branch
parent
580a555948
commit
aa5937edd5
|
@ -62,7 +62,7 @@ main()
|
|||
$err "Cannot generate list of boards for building"
|
||||
|
||||
for x in ${boards}; do
|
||||
handle_target
|
||||
handle_target "$x"
|
||||
done
|
||||
|
||||
[ "$listboards" = "y" ] && return 0
|
||||
|
@ -85,7 +85,7 @@ handle_target()
|
|||
{
|
||||
eval "$(setvars "n" ${pv}) $(setvars "" ${v})"
|
||||
grub_background="background1280x800.png"
|
||||
board="${x}"
|
||||
board="$1"
|
||||
status="unknown"
|
||||
|
||||
configure_target
|
||||
|
|
Loading…
Reference in New Issue