mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
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>
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user