xref: /linux/arch/riscv/errata/thead/Makefile (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1ifdef CONFIG_RISCV_ALTERNATIVE_EARLY
2CFLAGS_errata.o := -mcmodel=medany
3ifdef CONFIG_FTRACE
4CFLAGS_REMOVE_errata.o = $(CC_FLAGS_FTRACE)
5endif
6ifdef CONFIG_KASAN
7KASAN_SANITIZE_errata.o := n
8endif
9endif
10
11obj-y += errata.o
12