summaryrefslogtreecommitdiffstats
path: root/src/arch/riscv64/Makefile
blob: 017fbacef273858a00153ff4271ab51b5bad8740 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Specify compressor
#
ZBIN		= $(ZBIN64)

# 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)