diff options
Diffstat (limited to 'arch/riscv/errata/andes/Makefile')
-rw-r--r-- | arch/riscv/errata/andes/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/riscv/errata/andes/Makefile b/arch/riscv/errata/andes/Makefile index 2d644e19caef..6278c389b801 100644 --- a/arch/riscv/errata/andes/Makefile +++ b/arch/riscv/errata/andes/Makefile @@ -1 +1,5 @@ +ifdef CONFIG_RISCV_ALTERNATIVE_EARLY +CFLAGS_errata.o := -mcmodel=medany +endif + obj-y += errata.o |