1 2 3 4 5
ifdef CONFIG_RISCV_ALTERNATIVE_EARLY CFLAGS_errata.o := -mcmodel=medany endif obj-y += errata.o