mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
rom.sh: simplify u-boot payload handling
define it with a single variable, rather than several. this allows several checks to be greatly simplified. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -5,10 +5,9 @@ build_depend="seabios/default grub/default memtest86plus u-boot/amd64coreboot"
|
||||
|
||||
seavgabiosrom="elf/seabios/default/libgfxinit/vgabios.bin"
|
||||
|
||||
pv="payload_uboot payload_seabios payload_memtest payload_grub"
|
||||
pv="$pv payload_uboot_i386 payload_uboot_amd64 payload_grubsea"
|
||||
pv="payload_seabios payload_memtest payload_grub payload_grubsea"
|
||||
v="initmode ubootelf grub_scan_disk uboot_config grubtree grubelf pname"
|
||||
v="$v displaymode tmprom newrom"
|
||||
v="$v displaymode tmprom newrom payload_uboot"
|
||||
eval `setvars "n" $pv`
|
||||
eval `setvars "" $v`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user