summaryrefslogtreecommitdiff
path: root/arch/riscv/errata/thead/Makefile
blob: 137e700d9d3f8ed79ac03f996934c54af99a56b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
ifdef CONFIG_RISCV_ALTERNATIVE_EARLY
CFLAGS_errata.o := -mcmodel=medany
ifdef CONFIG_FTRACE
CFLAGS_REMOVE_errata.o = $(CC_FLAGS_FTRACE)
endif
ifdef CONFIG_KASAN
KASAN_SANITIZE_errata.o := n
endif
endif

obj-y += errata.o