From ee4823acb5b15d63e7c6281cbcb90c76df00db7e Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Sun, 7 Sep 2008 22:57:49 -0700 Subject: [PATCH] mbr/Makefile: run checksize on the proper binaries... 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 --- mbr/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mbr/Makefile b/mbr/Makefile index a57b394..0bdf7e3 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 -- 2.7.4