aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/riscv/Makefile
blob: d3ae4e84c1fa5465d2b06d6f3bf9152328c10f60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Assembler section type character
#
ASM_TCHAR	:= @
ASM_TCHAR_OPS	:= @

# Include RISCV-specific headers
#
INCDIRS		:= arch/$(ARCH)/include arch/riscv/include $(INCDIRS)

# RISCV-specific directories containing source files
#
SRCDIRS		+= arch/riscv/core
SRCDIRS		+= arch/riscv/interface/sbi

# RISCV-specific flags
#
CFLAGS		+= -mno-strict-align -mno-plt

# EFI requires -fshort-wchar, and nothing else currently uses wchar_t
#
CFLAGS          += -fshort-wchar