aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cxxdemo/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cxxdemo/Makefile b/scripts/cxxdemo/Makefile
index e858761..2d95019 100644
--- a/scripts/cxxdemo/Makefile
+++ b/scripts/cxxdemo/Makefile
@@ -22,7 +22,7 @@ firmware32.hex: firmware.elf start.elf hex8tohex32.py
rm -f start.tmp firmware.tmp
firmware.elf: firmware.o syscalls.o
- $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
+ $(CC) $(LDFLAGS) -o $@ $^ -T ../../firmware/riscv.ld $(LDLIBS)
chmod -x firmware.elf
start.elf: start.S start.ld