diff --git a/include/rom.sh b/include/rom.sh index a2c6919..b9cf7ce 100644 --- a/include/rom.sh +++ b/include/rom.sh @@ -130,6 +130,11 @@ mkcorebootbin() add_seabios() { + if [ "$payload_uboot_i386" = "y" ] || \ + [ "$payload_uboot_amd64" = "y" ]; then + $dry add_uboot + fi + _seabioself="elf/seabios/default/$initmode/bios.bin.elf" cbfs "$tmprom" "$_seabioself" "fallback/payload" @@ -144,11 +149,6 @@ add_seabios() [ "$payload_memtest" = "y" ] && cbfs "$tmprom" \ "elf/memtest86plus/memtest.bin" img/memtest - if [ "$payload_uboot_i386" = "y" ] || \ - [ "$payload_uboot_amd64" = "y" ]; then - $dry add_uboot - fi - [ "$payload_grub" = "y" ] && add_grub cprom