aboutsummaryrefslogtreecommitdiff
path: root/roms/Makefile
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-09-30 11:37:12 +0200
committerGerd Hoffmann <kraxel@redhat.com>2013-12-06 08:55:42 +0100
commit94e68caaa089f90f5210435c7e07e97701c98ee5 (patch)
tree5bf81750f99367518255c05d0eb40780152b36e6 /roms/Makefile
parent11938d7863203d5ca523865761cac6130783c858 (diff)
roms: build two seabios binaries
Adding xhci support to seabios made it jump over the 128k line. Changing the bios size breaks migration, so we have to keep a 128k seabios binary for old machine types. New machine types can use a large 256k bios which should be big enougth for a while. This patch updates the seabios build process to build seabios twice, once full featured and once with xen and xhci turned off so the resulting binary is small enougth to fit into 128k. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'roms/Makefile')
-rw-r--r--roms/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/roms/Makefile b/roms/Makefile
index 10d5a65d61..fc716c1b10 100644
--- a/roms/Makefile
+++ b/roms/Makefile
@@ -56,9 +56,10 @@ default:
@echo " the EfiRom utility from edk2 / tianocore)"
@echo " slof -- update slof.bin"
-bios: build-seabios-config-seabios
- cp seabios/builds/seabios/bios.bin ../pc-bios/bios.bin
- cp seabios/builds/seabios/*dsdt.aml ../pc-bios/
+bios: build-seabios-config-seabios-128k build-seabios-config-seabios-256k
+ cp seabios/builds/seabios-128k/bios.bin ../pc-bios/bios.bin
+ cp seabios/builds/seabios-256k/bios.bin ../pc-bios/bios-256k.bin
+ cp seabios/builds/seabios-256k/src/fw/*dsdt.aml ../pc-bios/
seavgabios: $(patsubst %,seavgabios-%,$(vgabios_variants))