| From d41fc018e9018a44f6a70e52e4f9d4398b4e4659 Mon Sep 17 00:00:00 2001 |
| From: Sam Elliott <selliott@lowrisc.org> |
| Date: Mon, 11 May 2020 21:27:04 +0100 |
| Subject: [PATCH 7/7] Add Include Path For OpenTitan Linker Script |
| |
| --- |
| riscv-target/opentitan/device/rv32imc/Makefile.include | 3 ++- |
| 1 file changed, 2 insertions(+), 1 deletion(-) |
| |
| diff --git a/riscv-target/opentitan/device/rv32imc/Makefile.include b/riscv-target/opentitan/device/rv32imc/Makefile.include |
| index 41e410b..61dd819 100644 |
| --- a/riscv-target/opentitan/device/rv32imc/Makefile.include |
| +++ b/riscv-target/opentitan/device/rv32imc/Makefile.include |
| @@ -64,7 +64,8 @@ COMPILE_TARGET += \ |
| -I$(OT_ROOT) \ |
| -I$(TARGETDIR)/$(RISCV_TARGET)/ \ |
| -I$(TARGETDIR)/$(RISCV_TARGET)/ \ |
| - $(DEFINES) -T$(LDSCRIPT) $$< \ |
| + $(DEFINES) \ |
| + -L$(OT_ROOT) -T$(LDSCRIPT) $$< \ |
| $(OPENTITAN)/main.c \ |
| $(OPENTITAN)/run_rvc_test.S \ |
| $(OT_ROOT)/sw/device/exts/common/ibex_interrupt_vectors.S \ |
| -- |
| 2.26.0 |
| |