diff --git a/src/Makefile b/src/Makefile index 582ffe81..1a81e915 100644 --- a/src/Makefile +++ b/src/Makefile @@ -53,6 +53,7 @@ EINFO := ./util/einfo GENKEYMAP := ./util/genkeymap.pl DOXYGEN := doxygen LCAB := lcab +QEMUIMG := qemu-img ############################################################################### # diff --git a/src/arch/x86/Makefile.pcbios b/src/arch/x86/Makefile.pcbios index f8c22535..df08e018 100644 --- a/src/arch/x86/Makefile.pcbios +++ b/src/arch/x86/Makefile.pcbios @@ -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