[syslinux] [PATCH 1/4] diag/mbr: fix dependency to linker script

celelibi at gmail.com
2015-10-05T18:15:02Z

The Makefile used to have a dependency to an unused linker script.

Signed-off-by: Sylvain Gault <sylvain.gault at gmail.com>
---
 diag/mbr/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diag/mbr/Makefile b/diag/mbr/Makefile
index 5b7153c..7901fea 100644
--- a/diag/mbr/Makefile
+++ b/diag/mbr/Makefile
@@ -25,7 +25,7 @@ all:	handoff.bin
 	$(CC) $(MAKEDEPS) $(SFLAGS) -Wa,-a=$*.lst -c -o $@ $<

 .PRECIOUS: %.elf
-%.elf: %.o $(mbrdir)/mbr.ld
+%.elf: %.o $(mbrdir)/$(ARCH)/mbr.ld
 	$(LD) $(LDFLAGS) -T $(mbrdir)/$(ARCH)/mbr.ld -e _start -o $@ $<

 %.bin: %.elf $(mbrdir)/checksize.pl
--
2.5.3