mirror of
https://github.com/ipxe/ipxe
synced 2025-12-09 20:09:53 +03:00
[build] Add %.vhd target for building VM bootable disk images
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -53,6 +53,7 @@ EINFO := ./util/einfo
|
||||
GENKEYMAP := ./util/genkeymap.pl
|
||||
DOXYGEN := doxygen
|
||||
LCAB := lcab
|
||||
QEMUIMG := qemu-img
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
|
||||
@@ -120,6 +120,11 @@ NON_AUTO_MEDIA += usb
|
||||
$(QM)$(ECHO) " [FINISH] $@"
|
||||
$(Q)cat $^ > $@
|
||||
|
||||
NON_AUTO_MEDIA += vhd
|
||||
%vhd: %usb
|
||||
$(QM)$(ECHO) " [FINISH] $@"
|
||||
$(Q)$(QEMUIMG) convert -f raw -O vpc $< $@
|
||||
|
||||
# Padded floppy image (e.g. for iLO)
|
||||
NON_AUTO_MEDIA += pdsk
|
||||
%pdsk : %dsk
|
||||
|
||||
Reference in New Issue
Block a user