xref: /openbmc/linux/arch/riscv/errata/thead/Makefile (revision a35707c3)
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