summaryrefslogtreecommitdiff
path: root/mbr
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-09-07 22:57:49 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-09-07 22:57:49 -0700
commitee4823acb5b15d63e7c6281cbcb90c76df00db7e (patch)
tree1bf74cfeafd1450017a9dd61219c6e4c7144c84f /mbr
parent8ca8fb3bc75b94ffd54274025c465bfd185ddd56 (diff)
downloadsyslinux-ee4823acb5b15d63e7c6281cbcb90c76df00db7e.tar.gz
mbr/Makefile: run checksize on the proper binaries...syslinux-3.72-pre4
There is a reason other than stylistic for using macros like $@ in explicit rules, and that is that they get copied and pasted around... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'mbr')
-rw-r--r--mbr/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbr/Makefile b/mbr/Makefile
index a57b3946..0bdf7e3f 100644
--- a/mbr/Makefile
+++ b/mbr/Makefile
@@ -29,17 +29,17 @@ all: mbr.bin gptmbr.bin isohdpfx.bin
mbr.bin: mbr.elf checksize.pl
$(OBJCOPY) -O binary $< $@
- $(PERL) checksize.pl mbr.bin 440
+ $(PERL) checksize.pl $@ 440
isohdpfx.bin: isohdpfx.elf checksize.pl
$(OBJCOPY) -O binary $< $@
- $(PERL) checksize.pl mbr.bin 432
+ $(PERL) checksize.pl $@ 432
mbr_bin.c: mbr.bin
gptmbr.bin: gptmbr.elf checksize.pl
$(OBJCOPY) -O binary $< $@
- $(PERL) checksize.pl gptmbr.bin 424
+ $(PERL) checksize.pl $@ 424
tidy dist:
rm -f *.o *.elf *.lst