summaryrefslogtreecommitdiff
path: root/mbr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mbr/Makefile')
-rw-r--r--mbr/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbr/Makefile b/mbr/Makefile
index 1772d14e..75da4484 100644
--- a/mbr/Makefile
+++ b/mbr/Makefile
@@ -33,8 +33,8 @@ all: mbr.bin
%.o: %.S
$(CC) $(SFLAGS) -Wa,-a=$*.lst -c -o $@ $<
-mbr.elf: mbr.o
- $(LD) -Ttext 0x600 -e _start -o $@ $^
+mbr.elf: mbr.o mbr.ld
+ $(LD) -T mbr.ld -e _start -o $@ $<
mbr.bin: mbr.elf checksize.pl
$(OBJCOPY) -O binary $< $@