summaryrefslogtreecommitdiffstats
path: root/src/arch
diff options
context:
space:
mode:
authorMichael Brown2009-04-16 06:59:44 +0200
committerMichael Brown2009-04-16 07:01:07 +0200
commit7aee624881ec3cf05d23cdeb9bccf2411a2081c1 (patch)
treed9136ff26b8466dee5fb39f70977747ec307347d /src/arch
parent[build] Pad .rom, .dsk, and .hd images to 512-byte boundaries (diff)
downloadipxe-7aee624881ec3cf05d23cdeb9bccf2411a2081c1.tar.gz
ipxe-7aee624881ec3cf05d23cdeb9bccf2411a2081c1.tar.xz
ipxe-7aee624881ec3cf05d23cdeb9bccf2411a2081c1.zip
[build] Reinstate the .pdsk padded-floppy image format
Some utilities that expect a floppy disk image (e.g. iLO?) may test for a file of the correct size. Reinstate the .pdsk image format in order to provide this if needed.
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/i386/Makefile.pcbios6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/i386/Makefile.pcbios b/src/arch/i386/Makefile.pcbios
index 7aa0afd8..b1854181 100644
--- a/src/arch/i386/Makefile.pcbios
+++ b/src/arch/i386/Makefile.pcbios
@@ -59,3 +59,9 @@ NON_AUTO_MEDIA += usb
%usb: $(BIN)/usbdisk.bin %hd
$(QM)$(ECHO) " [FINISH] $@"
$(Q)cat $^ > $@
+
+# Padded floppy image (e.g. for iLO)
+NON_AUTO_MEDIA += pdsk
+%pdsk : %dsk
+ $(Q)cp $< $@
+ $(Q)$(PADIMG) --blksize=1474560 $@