fixes coremark linker setting
This commit is contained in:
parent
a04e6d3c5b
commit
70ee11ad3d
|
@ -1 +1 @@
|
||||||
Subproject commit 4d25972e4dd8f0053cc4fbd88be1b85f4b869cae
|
Subproject commit 33898756434cc490557540dadbfc9bf1f0626d4d
|
|
@ -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!
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue