summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorMichael Brown2009-04-16 04:15:08 +0200
committerMichael Brown2009-04-16 04:15:08 +0200
commit7741546a406217827c3d4a8d72aaa322b2565c35 (patch)
treea871a7879a035e76ae17cc096dc5317e4d8f400c /src/Makefile
parent[dhcp] Accept filename via DHCP option 67 as well as BOOTP filename field (diff)
downloadipxe-7741546a406217827c3d4a8d72aaa322b2565c35.tar.gz
ipxe-7741546a406217827c3d4a8d72aaa322b2565c35.tar.xz
ipxe-7741546a406217827c3d4a8d72aaa322b2565c35.zip
[build] Pad .rom, .dsk, and .hd images to 512-byte boundaries
QEMU will silently round down a disk or ROM image file to the nearest 512 bytes. Fix by always padding .rom, .dsk and .hd images to the nearest 512-byte boundary. Originally-fixed-by: Stefan Hajnoczi <stefanha@gmail.com>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 099762ce..4e4fd8b5 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -35,6 +35,7 @@ PARSEROM := $(PERL) ./util/parserom.pl
MAKEROM := $(PERL) ./util/makerom.pl
SYMCHECK := $(PERL) ./util/symcheck.pl
SORTOBJDUMP := $(PERL) ./util/sortobjdump.pl
+PADIMG := $(PERL) ./util/padimg.pl
NRV2B := ./util/nrv2b
ZBIN := ./util/zbin
ELF2EFI32 := ./util/elf2efi32