linux-zen-desktop/arch/riscv/errata/thead/Makefile

12 lines
221 B
Makefile
Raw Normal View History

2023-08-30 17:31:07 +02:00
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