mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 20:03:37 +08:00
Merge remote-tracking branch 'kraxel/bios.2' into staging
* kraxel/bios.2: Add vgabios build rules to roms/Makefile
This commit is contained in:
commit
052bb77a47
@ -1,10 +1,27 @@
|
||||
|
||||
vgabios_variants := stdvga cirrus vmware qxl
|
||||
|
||||
default:
|
||||
@echo "nothing is build by default"
|
||||
@echo "available build targets:"
|
||||
@echo " bios -- update bios.bin (seabios)"
|
||||
@echo " seavgabios -- update vgabios binaries (seabios)"
|
||||
@echo " lgplvgabios -- update vgabios binaries (lgpl)"
|
||||
|
||||
bios: config.seabios
|
||||
sh configure-seabios.sh $<
|
||||
make -C seabios out/bios.bin
|
||||
cp seabios/out/bios.bin ../pc-bios/bios.bin
|
||||
|
||||
seavgabios: $(patsubst %,seavgabios-%,$(vgabios_variants))
|
||||
|
||||
seavgabios-%: config.vga.%
|
||||
sh configure-seabios.sh $<
|
||||
make -C seabios out/vgabios.bin
|
||||
cp seabios/out/vgabios.bin ../pc-bios/vgabios-$*.bin
|
||||
|
||||
lgplvgabios: $(patsubst %,lgplvgabios-%,$(vgabios_variants))
|
||||
|
||||
lgplvgabios-%:
|
||||
make -C vgabios vgabios-$*.bin
|
||||
cp vgabios/VGABIOS-lgpl-latest.$*.bin ../pc-bios/vgabios-$*.bin
|
||||
|
3
roms/config.vga.cirrus
Normal file
3
roms/config.vga.cirrus
Normal file
@ -0,0 +1,3 @@
|
||||
CONFIG_BUILD_VGABIOS=y
|
||||
CONFIG_VGA_CIRRUS=y
|
||||
CONFIG_VGA_PCI=y
|
3
roms/config.vga.isavga
Normal file
3
roms/config.vga.isavga
Normal file
@ -0,0 +1,3 @@
|
||||
CONFIG_BUILD_VGABIOS=y
|
||||
CONFIG_VGA_BOCHS=y
|
||||
CONFIG_VGA_PCI=n
|
6
roms/config.vga.qxl
Normal file
6
roms/config.vga.qxl
Normal file
@ -0,0 +1,6 @@
|
||||
CONFIG_BUILD_VGABIOS=y
|
||||
CONFIG_VGA_BOCHS=y
|
||||
CONFIG_VGA_PCI=y
|
||||
CONFIG_OVERRIDE_PCI_ID=y
|
||||
CONFIG_VGA_VID=0x1b36
|
||||
CONFIG_VGA_DID=0x0100
|
3
roms/config.vga.stdvga
Normal file
3
roms/config.vga.stdvga
Normal file
@ -0,0 +1,3 @@
|
||||
CONFIG_BUILD_VGABIOS=y
|
||||
CONFIG_VGA_BOCHS=y
|
||||
CONFIG_VGA_PCI=y
|
6
roms/config.vga.vmware
Normal file
6
roms/config.vga.vmware
Normal file
@ -0,0 +1,6 @@
|
||||
CONFIG_BUILD_VGABIOS=y
|
||||
CONFIG_VGA_BOCHS=y
|
||||
CONFIG_VGA_PCI=y
|
||||
CONFIG_OVERRIDE_PCI_ID=y
|
||||
CONFIG_VGA_VID=0x15ad
|
||||
CONFIG_VGA_DID=0x0405
|
Loading…
Reference in New Issue
Block a user