xref: /openbmc/qemu/roms/Makefile (revision d901eff3)
1
2vgabios_variants := stdvga cirrus vmware qxl
3
4default:
5	@echo "nothing is build by default"
6	@echo "available build targets:"
7	@echo "  bios           -- update bios.bin (seabios)"
8	@echo "  seavgabios     -- update vgabios binaries (seabios)"
9	@echo "  lgplvgabios    -- update vgabios binaries (lgpl)"
10
11bios: config.seabios
12	sh configure-seabios.sh $<
13	make -C seabios out/bios.bin
14	cp seabios/out/bios.bin ../pc-bios/bios.bin
15
16seavgabios: $(patsubst %,seavgabios-%,$(vgabios_variants))
17
18seavgabios-%: config.vga.%
19	sh configure-seabios.sh $<
20	make -C seabios out/vgabios.bin
21	cp seabios/out/vgabios.bin ../pc-bios/vgabios-$*.bin
22
23lgplvgabios: $(patsubst %,lgplvgabios-%,$(vgabios_variants))
24
25lgplvgabios-%:
26	make -C vgabios vgabios-$*.bin
27	cp vgabios/VGABIOS-lgpl-latest.$*.bin ../pc-bios/vgabios-$*.bin
28