aboutsummaryrefslogtreecommitdiff
path: root/roms/Makefile
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-09-20 14:29:29 +0200
committerGerd Hoffmann <kraxel@redhat.com>2013-09-30 09:44:35 +0200
commit1ede4dd04b4f16a281a92d6a44905c63fb1635cf (patch)
tree884dc588217c09c0a8e2fa817acc0d7102308293 /roms/Makefile
parent6887581728c9eddf858e7458b6eacbfe3ac68302 (diff)
downloadqemu-1ede4dd04b4f16a281a92d6a44905c63fb1635cf.zip
qemu-1ede4dd04b4f16a281a92d6a44905c63fb1635cf.tar.gz
qemu-1ede4dd04b4f16a281a92d6a44905c63fb1635cf.tar.bz2
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>
Diffstat (limited to 'roms/Makefile')
-rw-r--r--roms/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/roms/Makefile b/roms/Makefile
index b646060..6d4330f 100644
--- a/roms/Makefile
+++ b/roms/Makefile
@@ -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