mirror of https://gitee.com/openkylin/qemu.git
roms: enable parallel builds for 'make lgplvgabios'
Recurse into vgabios once, adjust dependencies, call make using $(MAKE) $(MAKEFLAGS) so jobserver mode works. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
6887581728
commit
1ede4dd04b
|
@ -1,5 +1,6 @@
|
|||
|
||||
vgabios_variants := stdvga cirrus vmware qxl
|
||||
vgabios_targets := $(patsubst %,vgabios-%.bin,$(vgabios_variants))
|
||||
pxerom_variants := e1000 eepro100 ne2k_pci pcnet rtl8139 virtio
|
||||
|
||||
pxe-rom-e1000 efi-rom-e1000 : VID := 8086
|
||||
|
@ -49,12 +50,16 @@ seavgabios-%: config.vga.%
|
|||
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
|
||||
lgplvgabios-%: build-lgplvgabios
|
||||
cp vgabios/VGABIOS-lgpl-latest.$*.bin ../pc-bios/vgabios-$*.bin
|
||||
|
||||
build-lgplvgabios:
|
||||
$(MAKE) $(MAKEFLAGS) -C vgabios $(vgabios_targets)
|
||||
|
||||
|
||||
pxerom: $(patsubst %,pxe-rom-%,$(pxerom_variants))
|
||||
|
||||
pxe-rom-%: ipxe/src/config/local/general.h
|
||||
|
|
Loading…
Reference in New Issue