aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/riscv64/Makefile
blob: 2fd18fc13bc8c491e6049e0fec35e252382c14bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# RISCV64-specific directories containing source files
#
SRCDIRS		+= arch/riscv64/core

# RISCV64-specific flags
#
CFLAGS		+= -march=rv64gc -mabi=lp64d
ASFLAGS		+= -march=rv64gc -mabi=lp64d
LDFLAGS		+= -m elf64lriscv

# Include common RISCV Makefile
#
MAKEDEPS	+= arch/riscv/Makefile
include arch/riscv/Makefile

# Include platform-specific Makefile
#
MAKEDEPS	+= arch/riscv64/Makefile.$(PLATFORM)
include arch/riscv64/Makefile.$(PLATFORM)