fixes coremark linker setting

This commit is contained in:
Eyck Jentzsch 2024-03-21 07:32:20 +01:00
parent a04e6d3c5b
commit 70ee11ad3d
3 changed files with 5 additions and 3 deletions

@ -1 +1 @@
Subproject commit 4d25972e4dd8f0053cc4fbd88be1b85f4b869cae Subproject commit 33898756434cc490557540dadbfc9bf1f0626d4d

View File

@ -25,6 +25,7 @@ else
RISCV_ABI:=ilp32 RISCV_ABI:=ilp32
endif endif
BSP_BASE = ../../../bare-metal-bsp BSP_BASE = ../../../bare-metal-bsp
LINKER_SCRIPT=link.lds
TRIPLET?=riscv64-unknown-elf TRIPLET?=riscv64-unknown-elf
# Flag : OUTFLAG # Flag : OUTFLAG
@ -58,7 +59,8 @@ ASFLAGS =
OFLAG = -o OFLAG = -o
COUT = -c COUT = -c
LFLAGS_END = LFLAGS_END = -T $(BSP_BASE)/env/$(BOARD)/$(LINKER_SCRIPT)
# Flag : PORT_SRCS # Flag : PORT_SRCS
# Port specific source files can be added here # Port specific source files can be added here
# You may also need cvt.c if the fcvt functions are not provided as intrinsics by your compiler! # You may also need cvt.c if the fcvt functions are not provided as intrinsics by your compiler!

View File

@ -5,7 +5,7 @@ ASM_SRCS :=
C_SRCS := dhry_stubs.c dhry_1.c dhry_2.c C_SRCS := dhry_stubs.c dhry_1.c dhry_2.c
HEADERS := dhry.h HEADERS := dhry.h
BOARD=iss BOARD?=iss
LINK_TARGET=link LINK_TARGET=link
RISCV_ARCH:=rv32$(ISA) RISCV_ARCH:=rv32$(ISA)
ifeq ($(ISA),e) ifeq ($(ISA),e)