mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-30 15:00:34 +00:00
b456677607
This patch adds some glue to roms/Makefile to build vgabios binaries for qemu. It covers both the lgpl'ed vgabios implementation used by qemu traditionally and the new seabios implementation. The purpose of this patch is to (a) document the vgabios build process and (b) simplify seavgabios testing for those who want to play with it. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
28 lines
808 B
Makefile
28 lines
808 B
Makefile
|
|
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
|