diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-02-08 16:35:08 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-03-18 10:21:56 +0100 |
commit | 2397edd7354ebbcebf3cd55dc3c0b1fe7621794b (patch) | |
tree | ddff08acc2118f0d5e10600f2fb7275ffbfe6d5f /roms | |
parent | 225dc991b03f0f034aa348f5cf499de9d0979107 (diff) | |
download | qemu-2397edd7354ebbcebf3cd55dc3c0b1fe7621794b.zip qemu-2397edd7354ebbcebf3cd55dc3c0b1fe7621794b.tar.gz qemu-2397edd7354ebbcebf3cd55dc3c0b1fe7621794b.tar.bz2 |
Add Makefile rules to build nic rom binaries
"make -C roms pxerom" will build the ipxe roms and update
the binaries in pc-bios/, i.e. it basically documents how
the build process of our current nic roms works.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'roms')
-rw-r--r-- | roms/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/roms/Makefile b/roms/Makefile index 5e645bc..be33652 100644 --- a/roms/Makefile +++ b/roms/Makefile @@ -1,5 +1,19 @@ vgabios_variants := stdvga cirrus vmware qxl +pxerom_variants := e1000 eepro100 ne2k_pci pcnet rtl8139 virtio + +pxe-rom-e1000 : VID := 8086 +pxe-rom-e1000 : DID := 100e +pxe-rom-eepro100 : VID := 8086 +pxe-rom-eepro100 : DID := 1209 +pxe-rom-ne2k_pci : VID := 1050 +pxe-rom-ne2k_pci : DID := 0940 +pxe-rom-pcnet : VID := 1022 +pxe-rom-pcnet : DID := 2000 +pxe-rom-rtl8139 : VID := 10ec +pxe-rom-rtl8139 : DID := 8139 +pxe-rom-virtio : VID := 1af4 +pxe-rom-virtio : DID := 1000 default: @echo "nothing is build by default" @@ -7,6 +21,7 @@ default: @echo " bios -- update bios.bin (seabios)" @echo " seavgabios -- update vgabios binaries (seabios)" @echo " lgplvgabios -- update vgabios binaries (lgpl)" + @echo " pxerom -- update nic roms (bios only)" bios: config.seabios sh configure-seabios.sh $< @@ -26,3 +41,9 @@ lgplvgabios: $(patsubst %,lgplvgabios-%,$(vgabios_variants)) lgplvgabios-%: make -C vgabios vgabios-$*.bin cp vgabios/VGABIOS-lgpl-latest.$*.bin ../pc-bios/vgabios-$*.bin + +pxerom: $(patsubst %,pxe-rom-%,$(pxerom_variants)) + +pxe-rom-%: + make -C ipxe/src bin/$(VID)$(DID).rom + cp ipxe/src/bin/$(VID)$(DID).rom ../pc-bios/pxe-$*.rom |