diff options
author | Leah Rowe <leah@libreboot.org> | 2025-04-17 23:31:26 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-04-17 23:31:26 +0100 |
commit | 9d3b52cd1d2c91912476ac4622ef33726e349e54 (patch) | |
tree | bb4d5430a2e65a9dd9fb7a1a040b298c59d14506 /include | |
parent | b4402c5425829caf07bc94918d9c43814c41f360 (diff) |
rom.sh: minor cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/rom.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/rom.sh b/include/rom.sh index 45ca5fd8..4ec473e5 100644 --- a/include/rom.sh +++ b/include/rom.sh @@ -43,7 +43,7 @@ mkpicotool() x_ cd src/picotool x_ cmake -DCMAKE_INSTALL_PREFIX=xbmkbin -DPICOTOOL_FLAT_INSTALL=1 \ -DPICO_SDK_PATH=../pico-sdk - make install || $err "Can't build picotool"; : + x_ make install ) || $err "Can't build picotool"; : } @@ -171,14 +171,13 @@ add_seabios() fi _seabioself="elf/seabios/default/$initmode/bios.bin.elf" - _seaname="fallback/payload" && [ "$payload_grubsea" = "y" ] && \ _seaname="seabios.elf" + cbfs "$tmprom" "$_seabioself" "$_seaname" x_ "$cbfstool" "$tmprom" add-int -i 3000 -n etc/ps2-keyboard-spinup - _z="2" - [ "$initmode" = "vgarom" ] && _z="0" + _z="2" && [ "$initmode" = "vgarom" ] && _z="0" x_ "$cbfstool" "$tmprom" add-int -i $_z -n etc/pci-optionrom-exec x_ "$cbfstool" "$tmprom" add-int -i 0 -n etc/optionroms-checksum [ "$initmode" = "libgfxinit" ] && \ |