summaryrefslogtreecommitdiffstats
path: root/src/arch
diff options
context:
space:
mode:
authorMichael Brown2007-07-06 00:37:17 +0200
committerMichael Brown2007-07-06 00:37:17 +0200
commit763a3eab8aecb91be0a2fb7d150840ba9e0902b4 (patch)
treeb741f902e388740ae983cbb76778fd69ef36d161 /src/arch
parentPad ROM images to 512 bytes, not powers of two (diff)
downloadipxe-763a3eab8aecb91be0a2fb7d150840ba9e0902b4.tar.gz
ipxe-763a3eab8aecb91be0a2fb7d150840ba9e0902b4.tar.xz
ipxe-763a3eab8aecb91be0a2fb7d150840ba9e0902b4.zip
Add .pdsk target (padded .dsk, suitable for qemu).
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/i386/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/i386/Makefile b/src/arch/i386/Makefile
index f4e19d3f3..21a8e36d7 100644
--- a/src/arch/i386/Makefile
+++ b/src/arch/i386/Makefile
@@ -111,6 +111,12 @@ NON_AUTO_MEDIA += fd0
dd if=$< bs=512 conv=sync of=/dev/fd0
sync
+# rule to create padded disk images
+NON_AUTO_MEDIA += pdsk
+%pdsk : %dsk
+ cp $< $@
+ $(PERL) ./util/dskpad.pl $@
+
# rule to make a non-emulation ISO boot image
NON_AUTO_MEDIA += iso
%iso: %lilo util/geniso
@@ -125,6 +131,7 @@ NON_AUTO_MEDIA += liso
$(BIN)/usbdisk.bin : $(BIN)/usbdisk.o
$(OBJCOPY) -O binary $< $@
+NON_AUTO_MEDIA += usb
%usb: $(BIN)/usbdisk.bin %hd
cat $^ > $@