diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-09-20 14:29:29 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-09-30 09:44:35 +0200 |
commit | 1ede4dd04b4f16a281a92d6a44905c63fb1635cf (patch) | |
tree | 884dc588217c09c0a8e2fa817acc0d7102308293 /roms/Makefile | |
parent | 6887581728c9eddf858e7458b6eacbfe3ac68302 (diff) |
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/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/roms/Makefile b/roms/Makefile index b64606067b..6d4330fb26 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 |